import type { GetClientCookieParams } from './cookies'; import type { StorageCache } from './storage'; export type JWTHandlerParams = { frontendApi: string; } & ({ sync?: false; } | ({ sync: true; } & GetClientCookieParams)); export type JWTHandler = ReturnType; export declare function JWTHandler(store: StorageCache, params: JWTHandlerParams): { get: () => Promise; listener: () => { add: () => void; has: () => boolean; remove: () => void; } | undefined; set: (value: string) => Promise; remove: () => Promise; }; //# sourceMappingURL=jwt-handler.d.ts.map