import { Cache } from 'cache-manager';
interface SsoCodeEntry {
    userId: number;
    accessToken: string;
    refreshToken: string;
}
export declare class SsoCodeStorageService {
    private cacheManager;
    constructor(cacheManager: Cache);
    generateCode(userId: number, accessToken: string, refreshToken: string): Promise<string>;
    consumeCode(code: string): Promise<SsoCodeEntry>;
    private getKey;
}
export {};
//# sourceMappingURL=sso-code-storage.service.d.ts.map