export declare function sign(secret: string, payload: string | object): Promise;