import type { Command } from "commander"; import { connectToDaemon } from "../../utils/client.js"; import type { CommandOptions, ListResult, OutputSchema } from "../../output/index.js"; type FetchAgentsOptions = NonNullable>["fetchAgents"]>[0]>; export declare function addLsOptions(cmd: Command): Command; /** Agent list item for display */ export interface AgentListItem { id: string; shortId: string; name: string; provider: string; thinking: string; status: string; cwd: string; created: string; } /** Schema for agent ls output */ export declare const agentLsSchema: OutputSchema; export type AgentLsResult = ListResult; export interface AgentLsOptions extends CommandOptions { /** -a: Include archived agents */ all?: boolean; /** -g: List agents across all directories */ global?: boolean; /** Filter by specific status */ status?: string; /** Filter by specific cwd */ cwd?: string; /** Filter by labels (key=value format) */ label?: string[]; /** Filter by thinking option ID */ thinking?: string; } export declare function buildAgentLsFetchOptions(options: Pick): FetchAgentsOptions; /** * Agent ls command semantics: * - `paseo agent ls` → active non-archived agents * - `paseo agent ls -g` → global non-archived agents * - `paseo agent ls -a` → active agents, including archived * - `paseo agent ls -ag` → global agents, including archived */ export declare function runLsCommand(options: AgentLsOptions, _command: Command): Promise; export {}; //# sourceMappingURL=ls.d.ts.map