export type AutoAssignedAgent = { id: string; name: string; domain: string | null; }; export declare function autoAssignEntityForCreate(input: { client: { getLiveAgents: (payload: { initiative: string | null; includeIdle: boolean; }) => Promise<{ agents?: unknown[]; }>; delegationPreflight: (payload: { intent: string; }) => Promise<{ data?: { recommended_split?: Array<{ owner_domain?: string | null; }>; }; }>; updateEntity: (entityType: string, entityId: string, payload: Record) => Promise; }; toErrorMessage: (err: unknown) => string; entityType: string; entityId: string; initiativeId: string | null; title: string; summary: string | null; }): Promise<{ assignmentSource: "orchestrator" | "fallback" | "manual"; assignedAgents: AutoAssignedAgent[]; warnings: string[]; updatedEntity: Record | null; }>;