type DeploymentListOptions = { workspace?: string; status?: string; persona?: string; json?: boolean; cloudUrl?: string; noPrompt?: boolean; }; type DeploymentLogsOptions = { selector?: string; workspace?: string; path?: string; tail: number; json?: boolean; cloudUrl?: string; noPrompt?: boolean; }; export type DeploymentAgent = { agentId: string; personaId: string; personaSlug: string; deployedName: string; status: string; createdAt: string; updatedAt?: string; lastUsedAt: string | null; lastRunStatus?: string | null; lastError?: string | null; integrationWatchHealth?: DeploymentIntegrationWatchHealth | null; scheduleIds: string[]; deployedByUserId: string; }; export type DeploymentIntegrationWatchHealth = { status: string; reason: string | null; lastSuccessfulDeliveryAt: string | null; lastDeliveryAt: string | null; lastFailedDeliveryAt: string | null; pendingDeliveryCount: number; recentFailedDeliveryCount: number; recentWorkspaceDispatchFailureCount: number; latestWorkspaceDispatchFailureAt: string | null; }; type ListResponse = { agents?: unknown; }; type LogEntry = Record; export declare function runDeploymentList(args: readonly string[]): Promise; export declare function runDeploymentLogs(args: readonly string[]): Promise; export declare function parseDeploymentListArgs(args: readonly string[]): DeploymentListOptions; export declare function parseDeploymentLogsArgs(args: readonly string[]): DeploymentLogsOptions; export declare function formatDeploymentsTable(agents: readonly DeploymentAgent[]): string; export declare function formatDeploymentLogEntries(entries: readonly LogEntry[]): string; export declare function tailLogEntriesFromNewestFiles(filesNewestFirst: readonly (readonly LogEntry[])[], tail: number): LogEntry[]; export declare function parseDeploymentAgents(body: ListResponse): DeploymentAgent[]; export declare function resolveDeploymentRequestContext(opts: { workspace?: string; cloudUrl?: string; noPrompt?: boolean; }): Promise<{ cloudUrl: string; workspace: string; token: string; authSource?: 'env' | 'cloud-session'; }>; export declare function fetchDeployments(args: { cloudUrl: string; workspace: string; token: string; }): Promise; export declare function requestJson(url: URL, token: string, action: string): Promise; export declare function resolveAgentSelector(agents: readonly DeploymentAgent[], selector: string): DeploymentAgent; export {}; //# sourceMappingURL=list-command.d.ts.map