export declare function syncWrapper(func: (...args: T) => K, ...params: T): Promise<[K | null, any]>; export declare function asyncWrapper(prom: Promise): Promise<[T | null, any]>; export declare function commandWrapper(func: Function, ...argument: any): Promise;