export type RefreshRecord = { jti: string; userId: string; expiresAt: number; userAgent?: string; ip?: string; }; export interface IRefreshStore { add(rec: RefreshRecord): Promise; revoke(jti: string): Promise; isActive(jti: string): Promise; rotate(oldJti: string, next: RefreshRecord): Promise; } export declare const setRefreshStore: (custom: IRefreshStore) => void; export declare const refreshStore: () => IRefreshStore;