import type { RecordedCommand, RecordedCommandJsonSchema, RecordedCommandVariable } from "./recorded-command.js"; import type { SerializedCookie } from "./types.js"; export interface CapturedRecordingRequest { method: string; url: string; body?: unknown; bodyContentType?: string; status: number; responseBody?: unknown; } export interface RecordingSessionResult { capturedRequests: CapturedRecordingRequest[]; projectOrigin: string; } export interface RecordingCapture { capturedRequests: CapturedRecordingRequest[]; intent?: string; projectOrigin: string; recordedAt: string; startUrl: string; } export declare function startRecordingSession(options: { cookies: SerializedCookie[]; projectOrigin: string; startUrl: string; }): Promise; export declare function dumpRecordingCapture(options: { capture: RecordingCapture; filePath: string; }): Promise; export interface RecordingAnalysis { description: string; steps: Array<{ index: number; responseSummary: string; isFileUpload?: boolean; }>; variables: Array<{ name: string; description: string; type: "input" | "output"; originalValue: unknown; jsonSchema?: RecordedCommandJsonSchema; required?: boolean; sourceKind?: RecordedCommandVariable["sourceKind"]; sourceStepIndex?: number; sourcePath?: string; occurrences: Array<{ stepIndex: number; source: "path" | "query" | "body"; bodyPath?: string; }>; }>; } export declare function buildRecordedCommand(options: { analysis: RecordingAnalysis; capturedRequests: CapturedRecordingRequest[]; commandName: string; projectOrigin: string; }): RecordedCommand; //# sourceMappingURL=recording-session.d.ts.map