/** Minimal keyring-entry surface consumed by the package's stores. */ export interface KeyringEntry { /** Writes the password for this entry. */ setPassword(password: string): void; /** Reads the current password, or returns `null` if none is set. */ getPassword(): string | null; /** Deletes the password and returns `true` if one existed. */ deletePassword(): boolean; } /** * Factory for `KeyringEntry` values. Injection seam for tests; * production callers use the default that constructs * `@napi-rs/keyring` entries lazily. */ export type KeyringEntryFactory = (service: string, account: string) => KeyringEntry; /** * Default `KeyringEntryFactory`. Resolves `@napi-rs/keyring` lazily * so platforms without a prebuilt binding only see a * `KEYRING_UNAVAILABLE` on first store construction, not on module * import. */ export declare const defaultEntryFactory: KeyringEntryFactory;