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/memory.d.ts /** * In-memory `SecretsStore` for tests. Refuses to start in `production` * mode unless explicitly opted in. * * @stable */ declare class MemorySecretsStore implements SecretsStore { #private; /** Stable identifier - surfaced in `getSecretsStoreStatus()`. */ readonly kind: "memory"; constructor(opts?: { forceProduction?: boolean; }); /** Whether this store has any keys at all. */ get size(): number; 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 { MemorySecretsStore }; //# sourceMappingURL=memory.d.ts.map