import { Type } from '@zetapush/platform-legacy'; import { Provider } from '@zetapush/core'; interface FunctionWrapper { new (func: () => Promise): T; } export declare class InstanceHelper { private provide; private funcCallWrapper; private errorFactory?; private instance?; private func?; private clazz?; constructor(provide: any, funcCallWrapper: FunctionWrapper | null, errorFactory?: ((instanceFuncOrClass: any) => Error) | undefined); register(func: () => Promise): void; register(instance: T): void; register(clazz: Type): void; getProvider(): Provider | null; } export declare const isInstance: (instance: any) => boolean; export declare const isClass: (clazz: any) => boolean; export declare const isFunction: (func: any) => boolean; export {};