import { Agent, AgentDetails, AgentFilesystemAllowance, AgentSitecoreAllowance } from "../services/agentService";
import { EditOperation } from "../../types";
export declare const AGENT_HISTORY_LIMIT = 1000;
export declare const MACHINE_CAPACITY_REASON = "machineCapacity";
export declare const MACHINE_CAPACITY_DETAIL = "waitingForCapacity";
export declare function mergeAgentOperationHistory(existing: EditOperation[], incoming: EditOperation[], limit?: number): EditOperation[];
export declare function buildPlaceholderAgentDetails(agentStub: Agent): AgentDetails;
export declare function normalizeAgentId(value: string | null | undefined): string;
export declare function normalizeDialogAgentId(value: string | null | undefined): string;
export declare function normalizeServerExecutionStatus(value: string | null | undefined): string;
export declare function isFinishedServerExecutionStatus(value: string | null | undefined): boolean;
export declare function isInactiveServerExecutionStatus(value: string | null | undefined): boolean;
export declare function formatAllowanceSource(source?: string | null): string | null;
export declare function formatAllowanceLabel(allowance: AgentSitecoreAllowance | AgentFilesystemAllowance): string;
export declare function normalizeProfileAllowanceOperations(operationTypes: string[] | undefined): string[];
export declare function getAgentRunMessageAgentId(payload: any): string | null;
export declare function getAgentRunMessageSeq(payload: any): number | null;
export declare function getAgentRunMessageDetail(type: string, payload: any): string | null;
export declare function isHeartbeatRunEventMessage(message: any): boolean;
export type VisibleDialogRegistryEntry = {
    callbackId: string | null;
    terminalInstanceId: string | null;
};
export declare function getVisibleDialogRegistry(): Record<string, string | VisibleDialogRegistryEntry>;
export declare function isAgentErrorStatusValue(status: unknown): boolean;
