import { type HostIntegrationProfile, type IntegrationHost } from "@veewo/claw-core"; export declare const SUPPORTED_CLAW_HOSTS: readonly ["codex", "opencode", "cindy", "dsh"]; export type ClawHost = IntegrationHost; export type { HostIntegrationProfile }; /** * Hosts whose CLI output carries the versioned `hostActions` protocol * (`schemaVersion: 1`, tools `update_plan` / `create_goal` / `update_goal`). * The Codex adapter consumes them through its fixed code-mode driver; the DSH * adapter consumes them inside the `claw_run` tool's execute (same schema, no * envelope needed). */ export declare function isHostActionsHost(host: ClawHost | undefined): boolean; /** * Hosts whose adapter can dispatch `knowledgeWriter.executionPolicy === * "subagent"` closeout through a native subagent (Codex SDK, Cindy Orca * Worker, DSH `subagent`/`subagent_fork`). Other hosts reject that policy at * configuration time instead of silently degrading. */ export declare function isSubagentPolicyHost(host: ClawHost | undefined): boolean; /** Return the closed profile for a validated invocation host. */ export declare function resolveHostIntegrationProfile(host: ClawHost | undefined): HostIntegrationProfile | undefined; /** Resolve host identity once for the current CLI invocation. */ export declare function resolveInvocationHost(explicitHost: string | undefined, environmentHost: string | undefined): ClawHost | undefined; /** Copy an environment without leaking the foreground invocation host to a worker. */ export declare function withoutInvocationHost(source?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;