import { SecretResolver } from "@graphorin/core/contracts"; //#region src/secrets/resolvers/literal.d.ts /** * Programmatic gate - set from `secrets.allowLiteral: true` in user * config. Must be combined with the env gate to actually unlock the * `literal:` scheme. * * @stable */ declare function setLiteralAllowed(allowed: boolean): void; /** * Whether the `literal:` scheme is currently active. Used by the * factory's status reporter and by the resolver itself. * * @stable */ declare function isLiteralAllowed(): { allowed: boolean; reasons: ReadonlyArray; }; /** * Reset the literal-resolver state. Used by tests. * * @experimental */ declare function _resetLiteralResolverForTesting(): void; /** * Resolver for the `literal:` scheme. Triple-gated and tests-only. * * @stable */ declare const literalResolver: SecretResolver; //#endregion export { _resetLiteralResolverForTesting, isLiteralAllowed, literalResolver, setLiteralAllowed }; //# sourceMappingURL=literal.d.ts.map