export declare class Handler { key: string; handle: (obj: T, ...rest: any[]) => Promise; static fromCback(key: string, cback: (obj: T, c: (err: Error, res: R) => void, ...otherParams: any[]) => void): Handler; constructor(key: string, handle: (obj: T, ...rest: any[]) => Promise); }