import { PluginLogger } from './logger';
export interface PluginSession {
    token: string;
    accountId: string;
    countryCode?: string | null;
    region: string;
    apiBaseUrl: string;
    authFlowUsed?: 'legacy' | 'new';
    issuedAt?: number | null;
    expiresAt?: number | null;
    lastValidatedAt?: number | null;
    libraryVersion?: string;
    username?: string;
}
export declare class FileSessionStore {
    private readonly logger;
    private readonly dir;
    private readonly file;
    private saveInProgress;
    constructor(basePath: string, logger: PluginLogger);
    load(): Promise<PluginSession | null>;
    save(session: PluginSession): Promise<void>;
    clear(): Promise<void>;
}
export declare function decodeJwtTimestampsLocal(token: string): {
    iat?: number;
    exp?: number;
} | null;
//# sourceMappingURL=session-store.d.ts.map