import { Response } from 'express';
export declare function verifyToken(token: string, tenant: string): Promise<unknown>;
export declare function verifyRefreshToken(refreshToken: string, tenant: string): Promise<unknown>;
export declare function getUniqueId(creationTime?: string): string;
export declare function setCookie(res: Response, cookieName: string, cookieId: string, maxAge?: number | string, domain?: string): Response<any, Record<string, any>>;
export declare function getSignedToken(user: any, workspace: any, tokenIdentifier: string, expiresIn?: string): {
    payload: {
        workspace: any;
        sub: any;
        tenant: any;
        username: any;
        email: any;
        phone: any;
        name: string;
        fullName: string;
        firstName: string;
        lastName: string;
        roles: any;
        profileImage: any;
    };
    token: string;
};
