export interface PublicSubagentExecutionParams { action?: unknown; agent?: unknown; task?: unknown; step?: unknown; tasks?: unknown; chain?: unknown; parallel?: unknown; concurrency?: unknown; chainDir?: unknown; workflowScript?: unknown; resume?: unknown; clarify?: unknown; } export type PublicSubagentExecutionMode = "workflow" | "management"; export type PublicSubagentExecutionNormalization = { ok: true; params: T; } | { ok: false; error: string; mode: PublicSubagentExecutionMode; }; /** * Enforce the public execution boundary before requests reach the executor. * Internal workflow children and structured delegation bypass this boundary. * * Public execution has one direct mode: `{ agent?, task }`. Omit `agent` to * use the built-in `worker`; omit `action` so management and execution remain * separate. Scripted workflows remain available as the explicit orchestration * escape hatch for callers that need one durable background request. */ export declare function normalizePublicSubagentExecution(params: T): PublicSubagentExecutionNormalization; //# sourceMappingURL=public-execution.d.ts.map