import { i as PublisherSession, n as Did, t as CredentialStore } from "./types-DNGNVV4Q.js"; //#region src/credentials/env.d.ts interface EnvCredentialStoreOptions { /** * Override the env-var source. Defaults to `process.env`. Mainly useful for * tests; production callers should leave it alone. */ env?: Record; } declare class EnvCredentialStore implements CredentialStore { #private; constructor(options?: EnvCredentialStoreOptions); current(): Promise; get(did: Did): Promise; list(): Promise; put(): Promise; setCurrent(): Promise; remove(): Promise; } //#endregion //#region src/credentials/file.d.ts interface FileCredentialStoreOptions { /** * Path to the credentials file. Defaults to `~/.emdash/credentials.json`. * Tests typically pass a temp-dir path here. */ path?: string; } declare class FileCredentialStore implements CredentialStore { #private; readonly path: string; constructor(options?: FileCredentialStoreOptions); current(): Promise; get(did: Did): Promise; list(): Promise; put(session: PublisherSession): Promise; setCurrent(did: Did): Promise; remove(did: Did): Promise; } //#endregion //#region src/credentials/memory.d.ts declare class MemoryCredentialStore implements CredentialStore { #private; current(): Promise; get(did: Did): Promise; list(): Promise; put(session: PublisherSession): Promise; setCurrent(did: Did): Promise; remove(did: Did): Promise; } //#endregion export { EnvCredentialStore as i, FileCredentialStore as n, FileCredentialStoreOptions as r, MemoryCredentialStore as t }; //# sourceMappingURL=memory-Ci3gbSC-.d.ts.map