/**
 * Identity Store
 *
 * Securely store and retrieve cached identity context locally.
 *
 * STORAGE LOCATION:
 * - ~/.agentics/identity.json (Unix/macOS)
 * - %USERPROFILE%\.agentics\identity.json (Windows)
 */
import type { IdentityContext } from '../types/index.js';
export interface IIdentityStore {
    save(identity: IdentityContext): Promise<void>;
    load(): Promise<IdentityContext | null>;
    delete(): Promise<void>;
    exists(): Promise<boolean>;
    isStale(maxAgeMs?: number): Promise<boolean>;
}
export declare class IdentityStore implements IIdentityStore {
    private readonly configDir;
    private readonly identityPath;
    constructor(configDir?: string);
    save(identity: IdentityContext): Promise<void>;
    load(): Promise<IdentityContext | null>;
    delete(): Promise<void>;
    exists(): Promise<boolean>;
    isStale(maxAgeMs?: number): Promise<boolean>;
    getIdentityPath(): string;
    private ensureConfigDir;
}
export declare function createIdentityStore(configDir?: string): IIdentityStore;
//# sourceMappingURL=identity-store.d.ts.map