import { SecretValue as SecretValue$1 } from "../secret-value.js"; import { SecretMetadata, SecretValue, SecretsSetOptions, SecretsStore } from "@graphorin/core/contracts"; import { SessionScope } from "@graphorin/core/types"; //#region src/secrets/stores/keyring.d.ts /** * Options for `KeyringSecretsStore`. * * @stable */ interface KeyringSecretsStoreOptions { /** * Service prefix for every entry. Defaults to `'graphorin'` so users * can find every Graphorin-owned credential in their OS keychain. */ readonly service?: string; } /** * `SecretsStore` backed by `@napi-rs/keyring`. * * @stable */ declare class KeyringSecretsStore implements SecretsStore { #private; readonly kind: "keyring"; constructor(opts?: KeyringSecretsStoreOptions); get(key: string, _scope?: SessionScope): Promise; require(key: string, _scope?: SessionScope): Promise; set(key: string, value: string | SecretValue, _opts?: SecretsSetOptions): Promise; delete(key: string, _scope?: SessionScope): Promise; list(_scope?: SessionScope): Promise>; } //#endregion export { KeyringSecretsStore, KeyringSecretsStoreOptions }; //# sourceMappingURL=keyring.d.ts.map