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