export declare function log<T = null>(msg: string | ((data: T) => string), promise?: Promise<T>): void;
