import { type RunRecordV2 } from '@agentworkforce/runtime'; import { type ParsedCaseExpectationProviderAction } from './invoke/case-file.js'; export declare const INVOKE_USAGE = "usage: agentworkforce invoke (--fixture | --schedule | --case ) [flags]\n agentworkforce invoke --scaffold [--output ]\n\nRun a local preview invocation through the composable runtime path. Effects are\npreviewed locally: no live writes, shell execution, or child runs occur.\n\nFlags:\n --fixture Event fixture, EventFrame, legacy gateway envelope,\n replay bundle, JSON array, or NDJSON.\n --schedule Invoke the compiled agent's declared schedule by name.\n --case Run a checked-in YAML case with assertions.\n --reads fixtures | live (default: fixtures)\n --model stub | fixture | live (default: stub)\n --watch Re-run the selected source when authored files change.\n --output Write raw RunRecord JSON to .\n --input = Override a declared input (repeatable).\n --seed = Seed preview file state from a local file (repeatable).\n --workspace Workspace id for locally synthesized events.\n --scaffold Emit a fixture skeleton for an event type instead of running.\n -h, --help Print this message.\n"; type InvokeSource = { kind: 'fixture'; path: string; } | { kind: 'schedule'; name: string; } | { kind: 'case'; path: string; }; export interface InvokeOptions { personaPath: string; source: InvokeSource; outputPath?: string; inputs?: Record; seeds?: Record; workspaceId?: string; reads?: 'fixtures' | 'live'; model?: 'stub' | 'fixture' | 'live'; watch?: boolean; } export type ParsedInvokeArgs = InvokeOptions | { help: true; } | { scaffold: string; outputPath?: string; }; export interface RunInvokeIO { stdout: (text: string) => void; stderr: (text: string) => void; } export interface InvokeInternals { waitForWatchChange?: (files: readonly string[]) => Promise<'change' | 'stop'>; } export declare function runInvoke(args: readonly string[], io?: RunInvokeIO, internals?: InvokeInternals): Promise; export declare function parseInvokeArgs(args: readonly string[]): ParsedInvokeArgs; export declare function parseFixtureEnvelopes(raw: string, label: string): unknown[]; export declare function matchesExpectedProviderAction(action: RunRecordV2['actions'][number], expected: ParsedCaseExpectationProviderAction): boolean; export declare function deriveEventSource(eventContract: string): string | undefined; export declare function renderHumanSummary(output: RunRecordV2 | RunRecordV2[]): string; export declare function scaffoldFixture(type: string): { fixture: Record; warnings: string[]; }; export {}; //# sourceMappingURL=invoke-command.d.ts.map