export declare function isType(value: T | boolean | undefined, type: U): value is NonNullable & { __type: U; }; export declare function isType(value: any, type: 'number'): value is number; export declare function isType(value: any, type: 'string'): value is string; export declare function isType(value: any, type: 'boolean'): value is boolean; export declare function isType(value: any, type: 'function'): value is (...args: any[]) => any;