import { SecretResolver, SecretResolverContext, SecretValue } from "@graphorin/core/contracts"; //#region src/secrets/resolvers/ref.d.ts /** * Optional callback used by the `ref:` scheme to ask the active * `SecretsStore` for a value. The factory wires this up so the * resolver can dispatch through whatever fallback chain is currently * active without taking a hard dependency on the store module. * * @internal */ type RefStoreLookup = (key: string, ctx?: SecretResolverContext) => Promise; /** * Wire up the `ref:` resolver against the active `SecretsStore`. The * factory calls this whenever it activates a new store; tests use it * to inject a deterministic stub. * * @stable */ declare function setRefStoreLookup(lookup: RefStoreLookup | undefined): void; /** * Resolver for the `ref:` scheme. Resolves the path component * through the active `SecretsStore` chain, allowing config files to * stay agnostic about which physical store backs a given key. * * @stable */ declare const refResolver: SecretResolver; //#endregion export { RefStoreLookup, refResolver, setRefStoreLookup }; //# sourceMappingURL=ref.d.ts.map