import type { WorkflowHandoffRequest } from "@oscharko-dev/keiko-contracts/workflow-handoff";
export type RunKind = "unit-tests" | "bug-investigation" | "explain-plan" | "verify";
export interface RunRequest {
    readonly kind: RunKind;
    readonly modelId: string;
    readonly apply: boolean;
    readonly input: Record<string, unknown>;
    readonly limits: Record<string, unknown> | undefined;
    readonly governedHandoff?: WorkflowHandoffRequest | undefined;
    readonly governedHandoffSourceGroundedRunId?: string | undefined;
}
export interface RunRequestError {
    readonly code: "BAD_REQUEST";
    readonly message: string;
}
export declare function parseRunRequest(raw: string): RunRequest | RunRequestError;
//# sourceMappingURL=run-request.d.ts.map