/** * Copyright (c) 2014-present Houfeng * @homepage https://github.com/Houfeng/ober * @author Houfeng */ export type AnyClass = (new (...args: any[]) => any) & { displayName?: string; }; export type AnyFunction = (...args: any[]) => any; export type AnyObject = Record; export declare function isString(value: any): value is string; export declare function isNumber(value: any): value is number; export declare function isObject(value: any): value is object; export declare function isNativeArray(value: any): value is Array; export declare function isFunction(value: any): value is T; export declare function isNativeClass(value: any): value is T; export declare function isArrowFunction(value: any): value is T; export declare function isNullOrUndefined(value: any): value is undefined | null; export declare function define(target: any, member: string | symbol, value: any): void; export declare function isValidKey(key: any): key is string; export declare function isExtensible(value: any): boolean; export declare function isSealed(value: any): boolean; export declare const hasOwn: (target: any, member: PropertyKey) => boolean; export declare const getOwnValue: (target: any, member: PropertyKey) => any; export declare function is(x: any, y: any): boolean; export declare function shallowEqual(objA: any, objB: any): boolean; export declare function canAutoProxy(value: any): value is any; export declare function needBind(value: T | undefined): value is T; export type Ref = { value?: T; }; export type DecoratorContext = { kind: string; name: string | symbol; access: { get?(): unknown; set?(value: unknown): void; }; isPrivate?: boolean; isStatic?: boolean; addInitializer?(initializer: () => void): void; }; export declare function isDecoratorContext(value: any): value is DecoratorContext; export declare function logError(...args: any): void; export declare function logWarn(...args: any): void; export declare function logInfo(...args: any): void; export declare function logTable(...args: any): void; //# sourceMappingURL=util.d.ts.map