import { type RecordingCapture } from "../lib/recording-session.js"; import { type ResolvedGitHubRecordedCommandSource } from "../lib/github-recorded-command-import.js"; import { type ListedRecordedCommand, type RecordedCommand, type RecordedCommandVariableValue } from "../lib/recorded-command.js"; import type { OpenMeego } from "./index.js"; export type RunInputValue = RecordedCommandVariableValue; export type RunOutputValue = RecordedCommandVariableValue; export interface RunResult { steps: Array<{ method: string; path: string; status: number; data: unknown; }>; outputVariables: Record; } export type ImportConflictResolution = "overwrite" | "skip"; export interface ImportFromGithubFailure { error: string; name: string; } export interface ImportFromGithubResult { failed: ImportFromGithubFailure[]; imported: string[]; skipped: string[]; } export declare class CommandNamespace { #private; constructor(client: OpenMeego); capture(options: { startUrl: string; intent?: string; onRecordingCaptured?: (info: { capturedRequests: number; }) => void | Promise; }): Promise; save(name: string, command: RecordedCommand): Promise; importFromGithub(options: { force?: boolean; name?: string; onConflict?: (info: { existing: RecordedCommand; incoming: RecordedCommand; name: string; source: ResolvedGitHubRecordedCommandSource; sourceUrl: string; }) => ImportConflictResolution | Promise; sourceUrl: string; }): Promise; list(): Promise; run(name: string, options?: { variables?: Record; }): Promise; delete(name: string): Promise; } //# sourceMappingURL=command.d.ts.map