UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

24 lines • 813 B
import "../config-contracts--zSNHFlu.js"; import { r as OpenClawConfig } from "../types.openclaw-A0y1x1SF.js"; /** Checks env provider selection and allowlists without resolving a credential. */ export declare function canResolveEnvSecretRefInReadOnlyPath(params: { cfg?: OpenClawConfig; provider: string; id: string; }): boolean; export type ReadOnlyEnvSecretRefResolution = { status: "available"; value: string; } | { status: "missing"; } | { status: "blocked"; }; /** Resolve one configured secret without letting blocked refs borrow ambient credentials. */ export declare function resolveReadOnlyEnvSecretRef(params: { value: unknown; path: string; cfg?: OpenClawConfig; expectedEnvId: string; normalizeValue: (value: unknown) => string | undefined; }): ReadOnlyEnvSecretRefResolution;