export interface StoredIdentity { accountId: string; /** @deprecated use accountId */ agentId?: string; publicKey: string; secretKey: string; apiKey: string; alias?: string; } export type IdentityStore = Record; export declare function loadIdentities(): IdentityStore; export declare function saveIdentities(store: IdentityStore): void; export declare function addIdentity(identity: StoredIdentity): void; export declare function removeIdentity(target: string): void; export declare function resolveAccountId(store: IdentityStore, target: string): string | null; /** @deprecated use resolveAccountId */ export declare const resolveAgentId: typeof resolveAccountId; export declare function setAgentOverride(value: string | undefined): void; export declare function resolveCurrentIdentity(opts?: { agent?: string; }): StoredIdentity;