import { TenantUser } from "@codiac.io/codiac-common/security";
export declare class TokenHolder {
    user: TenantUser;
    token: string;
    expiration: Date | undefined;
    /**
     * @param user A user or principal (ie: tenantCode is optional)
     * @param token The JWT returned by the auth api.  If there's a tenantCode,
     * then the token is a tenant-user token. Otherwise just a user token.
     * @param expiration in GMT
     */
    constructor(user: TenantUser, token: string, expiration: Date | undefined);
}
