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