import type { FleetCapacityProbe } from '../../orchestration/elastic-pool.js'; /** The OWNED agent sources, and only those, that count against fleet.maxSize. */ export interface OwnedAgentSources { /** Active (pending/running) agents the daemon's AgentManager spawned, including elastic fixers, which spawn through it. */ countNativeActive(): number; /** Live ACP-hosted agent sessions this daemon hosts. Absent when no ACP host is composed. */ countAcpHosted?: (() => number) | undefined; } /** Agents the daemon is responsible for right now. */ export declare function countOwnedActiveAgents(sources: OwnedAgentSources): number; /** Build the live fleet-capacity probe the elastic pool gates claims against. */ export declare function fleetCapacityProbeFrom(deps: { readonly readConfig: (key: string) => unknown; readonly sources: OwnedAgentSources; }): FleetCapacityProbe; /** Runtime factory: the probe over the daemon's real owned sources. */ export declare function makeRuntimeFleetProbe(deps: { readonly readConfig: (key: string) => unknown; readonly agentManager: { list(): ReadonlyArray<{ status: string; }>; }; readonly acpHost: { list(): ReadonlyArray; }; }): () => FleetCapacityProbe; //# sourceMappingURL=fleet-count.d.ts.map