import { a as ReadOnlyCredentialStoreError, i as PublisherSession, n as Did, r as Handle, t as CredentialStore } from "../types-DNGNVV4Q.js"; import { i as EnvCredentialStore, n as FileCredentialStore, r as FileCredentialStoreOptions, t as MemoryCredentialStore } from "../memory-Ci3gbSC-.js"; //#region src/credentials/index.d.ts /** * Returns the credential store appropriate to the current environment. * * If `EMDASH_PUBLISHER_DID`, `EMDASH_PUBLISHER_HANDLE`, and * `EMDASH_PUBLISHER_PDS` are all set, returns an `EnvCredentialStore`. * Otherwise returns a `FileCredentialStore` at the default path. * * Tests should not use this helper -- they should pass a `MemoryCredentialStore` * explicitly. Calling this from a test is a code smell. */ declare function defaultCredentialStore(env?: Record): CredentialStore; //#endregion export { type CredentialStore, type Did, EnvCredentialStore, FileCredentialStore, type FileCredentialStoreOptions, type Handle, MemoryCredentialStore, type PublisherSession, ReadOnlyCredentialStoreError, defaultCredentialStore }; //# sourceMappingURL=index.d.ts.map