/// <reference types="node" />
export declare class __PHP_Incomplete_Class {
    __PHP_Incomplete_Class_Name: string;
    constructor(name: string);
}
export declare function getByteLength(contents: string, options: {
    encoding: BufferEncoding;
}): number;
export declare function isInteger(value: any): boolean;
export declare function getIncompleteClass(name: string): __PHP_Incomplete_Class;
export declare function getClass(prototype: Record<string, any>): {
    (): void;
    prototype: Record<string, any>;
};
/**
 * Ensures that the given {@link value} is truthy, throws an {@link Error} otherwise.
 * @param value the value to check to be truthy.
 * @param message the message of the {@link Error} if the value is falsy.
 */
export declare function invariant(value: any, message?: string): void;
