//#region src/compat/vendor/pi-ai-credential-store.d.ts /** * Default in-memory credential store. Apps inject persistent stores. * Keyed by `Provider.id`, one credential per provider; see `CredentialStore`. * Writes are serialized per provider through a promise chain. */ declare class InMemoryCredentialStore { credentials: Map; chains: Map; /** Serialize tasks per provider id without releasing the chain before active work settles. */ enqueue(providerId: any, task: any, options: any): Promise; read(providerId: any, options: any): Promise; list(options: any): Promise<{ providerId: any; type: any; }[]>; modify(providerId: any, fn: any, options: any): Promise; delete(providerId: any, options: any): Promise; } //#endregion //#region src/oauth-bridge.d.ts type UnknownRecord = Record; declare function oauthCredentialRef(providerId: string): string; declare class FileCredentialStore extends InMemoryCredentialStore { #private; constructor(path: string); get path(): string; modify(providerId: string, fn: (current: unknown) => unknown, options?: UnknownRecord): Promise; delete(providerId: string, options?: UnknownRecord): Promise; } //#endregion export { oauthCredentialRef as n, FileCredentialStore as t }; //# sourceMappingURL=oauth-bridge-hOnT3acY.d.mts.map