/**
 * Shape returned by `GET /api/<org>/agents`. Superset of the fields the
 * `status` and `agent list` views render — both commands fetch the same
 * endpoint, so the type and fetch live here once.
 */
export interface AgentSummary {
    agentId: string;
    name: string;
    description?: string;
    connectionCount?: number;
    activeConnectionCount?: number;
    clientCount?: number;
    status?: string;
}
export interface FetchedAgents {
    agents: AgentSummary[];
    orgSlug: string;
    apiBaseUrl: string;
}
/** Resolve the API client + org and fetch the org's agents. */
export declare function fetchAgents(options?: {
    context?: string;
    org?: string;
}): Promise<FetchedAgents>;
/** The `connections:X active:Y clients:Z` counts fragment shared by both views. */
export declare function agentCountsText(agent: AgentSummary): string;
//# sourceMappingURL=agents-view.d.ts.map