export declare type Callback = T extends void ? CallbackUnary : (e: Error, data: T) => void; export declare type CallbackUnary = (e: Error) => void;