/**
 * Node.js util module shim
 * Basic utility functions
 */
export declare function format(fmt: string, ...args: unknown[]): string;
export declare function formatWithOptions(_inspectOptions: {
    depth?: number;
    colors?: boolean;
} | undefined, fmt: unknown, ...args: unknown[]): string;
export declare function inspect(obj: unknown, options?: {
    depth?: number;
    colors?: boolean;
}): string;
export declare function inherits(ctor: Function, superCtor: Function): void;
export declare function deprecate<T extends Function>(fn: T, msg: string, code?: string): T;
export declare function promisify<T>(fn: (...args: any[]) => void): (...args: any[]) => Promise<T>;
export declare function callbackify<T>(fn: (...args: any[]) => Promise<T>): (...args: any[]) => void;
export declare function isDeepStrictEqual(left: unknown, right: unknown): boolean;
export declare function isArray(value: unknown): value is unknown[];
export declare function isBoolean(value: unknown): value is boolean;
export declare function isNull(value: unknown): value is null;
export declare function isNullOrUndefined(value: unknown): value is null | undefined;
export declare function isNumber(value: unknown): value is number;
export declare function isString(value: unknown): value is string;
export declare function isUndefined(value: unknown): value is undefined;
export declare function isRegExp(value: unknown): value is RegExp;
export declare function isObject(value: unknown): value is object;
export declare function isDate(value: unknown): value is Date;
export declare function isError(value: unknown): value is Error;
export declare function isFunction(value: unknown): value is Function;
export declare function isPrimitive(value: unknown): boolean;
export declare function isBuffer(value: unknown): boolean;
/**
 * Returns a function that logs debug messages when NODE_DEBUG includes the section
 */
export declare function debuglog(section: string): (...args: unknown[]) => void;
export declare const debug: typeof debuglog;
/**
 * Strip ANSI escape codes / VT control characters from a string.
 * Node.js 16.11+ API used by tinyrainbow, vitest, etc.
 */
export declare function stripVTControlCharacters(str: string): string;
export declare const types: {
    isArray: typeof isArray;
    isBoolean: typeof isBoolean;
    isNull: typeof isNull;
    isNullOrUndefined: typeof isNullOrUndefined;
    isNumber: typeof isNumber;
    isString: typeof isString;
    isUndefined: typeof isUndefined;
    isRegExp: typeof isRegExp;
    isObject: typeof isObject;
    isDate: typeof isDate;
    isError: typeof isError;
    isFunction: typeof isFunction;
    isPrimitive: typeof isPrimitive;
    isBuffer: typeof isBuffer;
    isBoxedPrimitive(value: unknown): boolean;
    isArrayBuffer(value: unknown): value is ArrayBuffer;
    isSharedArrayBuffer(value: unknown): boolean;
    isTypedArray(value: unknown): boolean;
    isDataView(value: unknown): value is DataView;
    isMap(value: unknown): value is Map<unknown, unknown>;
    isSet(value: unknown): value is Set<unknown>;
    isWeakMap(value: unknown): value is WeakMap<object, unknown>;
    isWeakSet(value: unknown): value is WeakSet<object>;
    isPromise(value: unknown): value is Promise<unknown>;
    isGeneratorFunction(value: unknown): boolean;
    isAsyncFunction(value: unknown): boolean;
    isGeneratorObject(value: unknown): boolean;
    isNativeError(value: unknown): value is Error;
    isNumberObject(value: unknown): boolean;
    isStringObject(value: unknown): boolean;
    isBooleanObject(value: unknown): boolean;
    isBigIntObject(value: unknown): boolean;
    isSymbolObject(value: unknown): boolean;
    isUint8Array(value: unknown): value is Uint8Array;
    isUint16Array(value: unknown): value is Uint16Array;
    isUint32Array(value: unknown): value is Uint32Array;
    isInt8Array(value: unknown): value is Int8Array;
    isInt16Array(value: unknown): value is Int16Array;
    isInt32Array(value: unknown): value is Int32Array;
    isFloat32Array(value: unknown): value is Float32Array;
    isFloat64Array(value: unknown): value is Float64Array;
    isAnyArrayBuffer(value: unknown): boolean;
    isProxy(_value: unknown): boolean;
    isExternal(_value: unknown): boolean;
    isModuleNamespaceObject(_value: unknown): boolean;
};
export declare const TextEncoder: {
    new (): TextEncoder;
    prototype: TextEncoder;
};
export declare const TextDecoder: {
    new (label?: string, options?: TextDecoderOptions): TextDecoder;
    prototype: TextDecoder;
};
declare const _default: {
    format: typeof format;
    formatWithOptions: typeof formatWithOptions;
    inspect: typeof inspect;
    inherits: typeof inherits;
    deprecate: typeof deprecate;
    promisify: typeof promisify;
    callbackify: typeof callbackify;
    debuglog: typeof debuglog;
    debug: typeof debuglog;
    stripVTControlCharacters: typeof stripVTControlCharacters;
    isDeepStrictEqual: typeof isDeepStrictEqual;
    isArray: typeof isArray;
    isBoolean: typeof isBoolean;
    isNull: typeof isNull;
    isNullOrUndefined: typeof isNullOrUndefined;
    isNumber: typeof isNumber;
    isString: typeof isString;
    isUndefined: typeof isUndefined;
    isRegExp: typeof isRegExp;
    isObject: typeof isObject;
    isDate: typeof isDate;
    isError: typeof isError;
    isFunction: typeof isFunction;
    isPrimitive: typeof isPrimitive;
    isBuffer: typeof isBuffer;
    types: {
        isArray: typeof isArray;
        isBoolean: typeof isBoolean;
        isNull: typeof isNull;
        isNullOrUndefined: typeof isNullOrUndefined;
        isNumber: typeof isNumber;
        isString: typeof isString;
        isUndefined: typeof isUndefined;
        isRegExp: typeof isRegExp;
        isObject: typeof isObject;
        isDate: typeof isDate;
        isError: typeof isError;
        isFunction: typeof isFunction;
        isPrimitive: typeof isPrimitive;
        isBuffer: typeof isBuffer;
        isBoxedPrimitive(value: unknown): boolean;
        isArrayBuffer(value: unknown): value is ArrayBuffer;
        isSharedArrayBuffer(value: unknown): boolean;
        isTypedArray(value: unknown): boolean;
        isDataView(value: unknown): value is DataView;
        isMap(value: unknown): value is Map<unknown, unknown>;
        isSet(value: unknown): value is Set<unknown>;
        isWeakMap(value: unknown): value is WeakMap<object, unknown>;
        isWeakSet(value: unknown): value is WeakSet<object>;
        isPromise(value: unknown): value is Promise<unknown>;
        isGeneratorFunction(value: unknown): boolean;
        isAsyncFunction(value: unknown): boolean;
        isGeneratorObject(value: unknown): boolean;
        isNativeError(value: unknown): value is Error;
        isNumberObject(value: unknown): boolean;
        isStringObject(value: unknown): boolean;
        isBooleanObject(value: unknown): boolean;
        isBigIntObject(value: unknown): boolean;
        isSymbolObject(value: unknown): boolean;
        isUint8Array(value: unknown): value is Uint8Array;
        isUint16Array(value: unknown): value is Uint16Array;
        isUint32Array(value: unknown): value is Uint32Array;
        isInt8Array(value: unknown): value is Int8Array;
        isInt16Array(value: unknown): value is Int16Array;
        isInt32Array(value: unknown): value is Int32Array;
        isFloat32Array(value: unknown): value is Float32Array;
        isFloat64Array(value: unknown): value is Float64Array;
        isAnyArrayBuffer(value: unknown): boolean;
        isProxy(_value: unknown): boolean;
        isExternal(_value: unknown): boolean;
        isModuleNamespaceObject(_value: unknown): boolean;
    };
    TextEncoder: {
        new (): TextEncoder;
        prototype: TextEncoder;
    };
    TextDecoder: {
        new (label?: string, options?: TextDecoderOptions): TextDecoder;
        prototype: TextDecoder;
    };
};
export default _default;
//# sourceMappingURL=util.d.ts.map