export interface DestroyOptions { /** Either a persona file path (.json) or a literal agent UUID. */ target: string; /** Workforce workspace id. Falls back to WORKFORCE_WORKSPACE_ID. */ workspace?: string; /** Override cloud base URL. Falls back to env, then the canonical default. */ cloudUrl?: string; /** Fail instead of opening the browser to log in. */ noPrompt?: boolean; } /** * Argv parser + dispatcher for `agentworkforce destroy [flags]`. * Mirrors the shape of runDeploy so cli.ts stays slim — destroy is a single * remote DELETE plus user-friendly resolution from persona file -> agentId. */ export declare function runDestroy(args: readonly string[]): Promise; export declare const DESTROY_USAGE = "usage: agentworkforce destroy [flags]\n\nTear down a deployed agent: cancel all relaycron schedules and mark the\nagent as destroyed in the workspace. Accepts either a persona JSON path\n(slug/id is resolved via the workspace's agents index) or a literal agent\nUUID.\n\nFlags:\n --workspace Workforce workspace; defaults to WORKFORCE_WORKSPACE_ID\n --cloud-url Override the workforce cloud base URL\n --no-prompt Fail instead of opening the browser to log in\n -h, --help Print this message\n\nExit codes:\n 0 destroyed\n 2 agent not found or already destroyed\n 1 any other error\n"; export declare function parseDestroyArgs(args: readonly string[]): DestroyOptions; //# sourceMappingURL=destroy-command.d.ts.map