import type { OpenClawConfig } from "../config/types.openclaw.js"; import { AcpRuntimeError } from "./runtime/errors.js"; export type AcpDispatchPolicyState = "enabled" | "acp_disabled" | "dispatch_disabled"; export declare function isAcpEnabledByPolicy(cfg: OpenClawConfig): boolean; export declare function resolveAcpDispatchPolicyState(cfg: OpenClawConfig): AcpDispatchPolicyState; export declare function isAcpDispatchEnabledByPolicy(cfg: OpenClawConfig): boolean; export declare function resolveAcpDispatchPolicyMessage(cfg: OpenClawConfig): string | null; export declare function resolveAcpDispatchPolicyError(cfg: OpenClawConfig): AcpRuntimeError | null; export declare function resolveAcpExplicitTurnPolicyError(cfg: OpenClawConfig): AcpRuntimeError | null; export declare function isAcpAgentAllowedByPolicy(cfg: OpenClawConfig, agentId: string): boolean; export declare function resolveAcpAgentPolicyError(cfg: OpenClawConfig, agentId: string): AcpRuntimeError | null;