import type { OpenClawConfig } from "../config/types.openclaw.js"; import type { PluginManifestRecord } from "../plugins/manifest-registry.js"; import type { PluginOrigin } from "../plugins/plugin-origin.types.js"; import type { ResolverContext, SecretDefaults } from "./runtime-shared.js"; import type { SecretTargetRegistryEntry } from "./target-registry-types.js"; type UnsupportedSecretRefConfigCandidate = { path: string; value: unknown; }; type BundledChannelContractApi = { collectRuntimeConfigAssignments?: (params: { config: OpenClawConfig; defaults: SecretDefaults | undefined; context: ResolverContext; }) => void; secretTargetRegistryEntries?: readonly SecretTargetRegistryEntry[]; unsupportedSecretRefSurfacePatterns?: readonly string[]; collectUnsupportedSecretRefConfigCandidates?: (raw: Record) => UnsupportedSecretRefConfigCandidate[]; }; export type BundledChannelSecretContractApi = Pick; export declare function loadBundledChannelSecretContractApi(channelId: string): BundledChannelSecretContractApi | undefined; export declare function loadChannelSecretContractApi(params: { channelId: string; config: OpenClawConfig; env?: NodeJS.ProcessEnv; loadablePluginOrigins?: ReadonlyMap; }): BundledChannelSecretContractApi | undefined; export declare function loadChannelSecretContractApiForRecord(record: PluginManifestRecord): BundledChannelSecretContractApi | undefined; export type BundledChannelSecurityContractApi = Pick; export declare function loadBundledChannelSecurityContractApi(channelId: string): BundledChannelSecurityContractApi | undefined; export {};