/**
 * This file was auto-generated by openapi-typescript.
 * Do not make direct changes to the file.
 */
export interface paths {
    "/workflows": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List Workflows
         * @description List all discovered workflows in the configured directory.
         */
        get: operations["list_workflows_workflows_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/workflows/refresh": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Refresh Workflows
         * @description Re-discover workflows from the configured directory.
         */
        post: operations["refresh_workflows_workflows_refresh_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/workflows/{workflow_path}/validate": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Validate Workflow
         * @description Validate a workflow's tool state against tool definitions.
         */
        post: operations["validate_workflow_workflows__workflow_path__validate_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/workflows/{workflow_path}/clean": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Clean Workflow
         * @description Clean stale tool state keys in a workflow. Writes back by default; use dry_run=true to preview.
         */
        post: operations["clean_workflow_workflows__workflow_path__clean_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/workflows/{workflow_path}/export": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Export Workflow
         * @description Convert a workflow to the other format, writing the result alongside the original.
         */
        post: operations["export_workflow_workflows__workflow_path__export_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/workflows/{workflow_path}/convert": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Convert Workflow
         * @description Convert a workflow to the other format, removing the original.
         */
        post: operations["convert_workflow_workflows__workflow_path__convert_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/workflows/{workflow_path}/roundtrip": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Roundtrip Workflow
         * @description Run round-trip validation (native -> format2 -> native).
         */
        post: operations["roundtrip_workflow_workflows__workflow_path__roundtrip_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/contents": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Read Root Contents
         * @description Read configured directory root (Jupyter Contents API).
         */
        get: operations["read_root_contents_api_contents_get"];
        put?: never;
        /**
         * Create Root Untitled
         * @description Create an untitled file or directory in the configured root.
         */
        post: operations["create_root_untitled_api_contents_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/contents/{path}/checkpoints": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List File Checkpoints
         * @description List checkpoints for a file (Jupyter Contents API).
         */
        get: operations["list_file_checkpoints_api_contents__path__checkpoints_get"];
        put?: never;
        /**
         * Create File Checkpoint
         * @description Create a checkpoint snapshot of a file.
         */
        post: operations["create_file_checkpoint_api_contents__path__checkpoints_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/contents/{path}/checkpoints/{checkpoint_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Restore File Checkpoint
         * @description Restore a file from a stored checkpoint.
         */
        post: operations["restore_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__post"];
        /**
         * Delete File Checkpoint
         * @description Delete a stored checkpoint.
         */
        delete: operations["delete_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/contents/{path}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Read Path Contents
         * @description Read a file or directory by relative path.
         */
        get: operations["read_path_contents_api_contents__path__get"];
        /**
         * Write Path Contents
         * @description Save (create-or-replace) a file or create a directory.
         *
         *     Optional ``If-Unmodified-Since`` header (RFC 7232, HTTP-date) enables conflict
         *     detection: if the file's on-disk mtime is newer than the supplied date, the
         *     server returns 409 instead of overwriting.
         */
        put: operations["write_path_contents_api_contents__path__put"];
        /**
         * Create Path Untitled
         * @description Create an untitled file or directory inside {path}.
         */
        post: operations["create_path_untitled_api_contents__path__post"];
        /**
         * Delete Path Contents
         * @description Delete a file or directory (recursive).
         */
        delete: operations["delete_path_contents_api_contents__path__delete"];
        options?: never;
        head?: never;
        /**
         * Rename Path Contents
         * @description Rename/move a file or directory.
         */
        patch: operations["rename_path_contents_api_contents__path__patch"];
        trace?: never;
    };
    "/workflows/{workflow_path}/lint": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Lint Workflow
         * @description Lint a workflow (structural + tool state validation).
         */
        post: operations["lint_workflow_workflows__workflow_path__lint_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/tool-cache": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List cached tools and aggregate stats */
        get: operations["list_tool_cache_api_tool_cache_get"];
        put?: never;
        post?: never;
        /** Clear all entries (or by tool-id prefix) */
        delete: operations["clear_tool_cache_api_tool_cache_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/tool-cache/stats": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Aggregate cache stats */
        get: operations["get_tool_cache_stats_api_tool_cache_stats_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/tool-cache/refetch": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Re-fetch a tool from its source (replacing the cached entry) */
        post: operations["refetch_tool_cache_api_tool_cache_refetch_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/tool-cache/add": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Populate the cache for a known tool id (diagnostic) */
        post: operations["add_tool_cache_api_tool_cache_add_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/api/tool-cache/{cacheKey}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get the raw cached payload */
        get: operations["read_tool_cache_api_tool_cache_key_get"];
        put?: never;
        post?: never;
        /** Delete a single cache entry */
        delete: operations["delete_tool_cache_api_tool_cache_key_delete"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        /** BenignArtifact */
        BenignArtifact: {
            /** Reason */
            reason: string;
            /** Proven By */
            proven_by?: string[];
        };
        /**
         * CheckpointModel
         * @description Checkpoint metadata (Jupyter Contents API shape).
         */
        CheckpointModel: {
            /** Id */
            id: string;
            /**
             * Last Modified
             * Format: date-time
             */
            last_modified: string;
        };
        /** CleanStepResult */
        CleanStepResult: {
            /** Step */
            step: string;
            /** Tool Id */
            tool_id?: string | null;
            /** Version */
            version?: string | null;
            /**
             * Removed State Keys
             * @default []
             */
            removed_state_keys: string[];
            /**
             * Removed Step Keys
             * @default []
             */
            removed_step_keys: string[];
            /**
             * Skipped
             * @default false
             */
            skipped: boolean;
            /**
             * Skip Reason
             * @default
             */
            skip_reason: string;
            /** Display Label */
            readonly display_label: string;
        };
        /**
         * ConnectionResult
         * @description Single connection between two steps.
         *
         *     status and mapping are orthogonal:
         *     - status: whether the connection is valid (ok/invalid/skip)
         *     - mapping: what collection type is being mapped over (None = direct match)
         */
        ConnectionResult: {
            /** Source Step */
            source_step: string;
            /** Source Output */
            source_output: string;
            /** Target Step */
            target_step: string;
            /** Target Input */
            target_input: string;
            /**
             * Status
             * @enum {string}
             */
            status: "ok" | "invalid" | "skip";
            /** Mapping */
            mapping?: string | null;
            /**
             * Errors
             * @default []
             */
            errors: string[];
        };
        /**
         * ConnectionStepResult
         * @description Connection validation result for one step.
         */
        ConnectionStepResult: {
            /** Step */
            step: string;
            /** Tool Id */
            tool_id?: string | null;
            /** Version */
            version?: string | null;
            /**
             * Step Type
             * @default tool
             */
            step_type: string;
            /** Map Over */
            map_over?: string | null;
            /**
             * Connections
             * @default []
             */
            connections: components["schemas"]["ConnectionResult"][];
            /**
             * Resolved Outputs
             * @default []
             */
            resolved_outputs: components["schemas"]["ResolvedOutputType"][];
            /**
             * Errors
             * @default []
             */
            errors: string[];
        };
        /**
         * ConnectionValidationReport
         * @description Connection validation results for one workflow.
         */
        ConnectionValidationReport: {
            /** Valid */
            valid: boolean;
            /**
             * Step Results
             * @default []
             */
            step_results: components["schemas"]["ConnectionStepResult"][];
            /**
             * Summary
             * @default {}
             */
            summary: {
                [key: string]: number;
            };
            /**
             * Has Details
             * @description True iff any step has connection data or step-level errors.
             *
             *     Precomputed here so templates don't need a mutable accumulator loop
             *     (Jinja2 namespaces aren't in the Jinja2/Nunjucks shared subset).
             */
            readonly has_details: boolean;
        };
        /**
         * ContentsModel
         * @description Jupyter Contents API-shaped model for files and directories.
         */
        "ContentsModel-Input": {
            /** Name */
            name: string;
            /** Path */
            path: string;
            /**
             * Type
             * @enum {string}
             */
            type: "file" | "directory";
            /** Writable */
            writable: boolean;
            /**
             * Created
             * Format: date-time
             */
            created: string;
            /**
             * Last Modified
             * Format: date-time
             */
            last_modified: string;
            /** Size */
            size?: number | null;
            /** Mimetype */
            mimetype?: string | null;
            /** Format */
            format?: ("text" | "base64") | null;
            /** Content */
            content?: string | components["schemas"]["ContentsModel-Input"][] | null;
        };
        /**
         * ContentsModel
         * @description Jupyter Contents API-shaped model for files and directories.
         */
        "ContentsModel-Output": {
            /** Name */
            name: string;
            /** Path */
            path: string;
            /**
             * Type
             * @enum {string}
             */
            type: "file" | "directory";
            /** Writable */
            writable: boolean;
            /**
             * Created
             * Format: date-time
             */
            created: string;
            /**
             * Last Modified
             * Format: date-time
             */
            last_modified: string;
            /** Size */
            size?: number | null;
            /** Mimetype */
            mimetype?: string | null;
            /** Format */
            format?: ("text" | "base64") | null;
            /** Content */
            content?: string | components["schemas"]["ContentsModel-Output"][] | null;
        };
        /**
         * ConvertResult
         * @description Result of a convert operation (export + remove original).
         */
        ConvertResult: {
            /** Source Path */
            source_path: string;
            /** Output Path */
            output_path: string;
            /** Removed Path */
            removed_path: string;
            /** Source Format */
            source_format: string;
            /** Target Format */
            target_format: string;
            /** Report */
            report: components["schemas"]["SingleExportReport"] | components["schemas"]["ToNativeResult"];
            /** Dry Run */
            dry_run: boolean;
            /** Content */
            content?: string | null;
        };
        /**
         * CreateRequest
         * @description Body for POST /api/contents/{path} — create untitled file or directory under {path}.
         */
        CreateRequest: {
            /**
             * Type
             * @default file
             * @enum {string}
             */
            type: "file" | "directory";
            /** Ext */
            ext?: string | null;
        };
        /**
         * DiffSeverity
         * @enum {string}
         */
        DiffSeverity: "error" | "benign";
        /**
         * DiffType
         * @enum {string}
         */
        DiffType: "value_mismatch" | "missing_in_roundtrip" | "missing_in_original" | "connection_mismatch" | "position_mismatch" | "label_mismatch" | "annotation_mismatch" | "comment_mismatch" | "step_missing";
        /**
         * ExportResult
         * @description Result of an export (format conversion) operation.
         */
        ExportResult: {
            /** Source Path */
            source_path: string;
            /** Output Path */
            output_path: string;
            /** Source Format */
            source_format: string;
            /** Target Format */
            target_format: string;
            /** Report */
            report: components["schemas"]["SingleExportReport"] | components["schemas"]["ToNativeResult"];
            /** Dry Run */
            dry_run: boolean;
            /** Content */
            content?: string | null;
        };
        /**
         * FailureClass
         * @enum {string}
         */
        FailureClass: "tool_not_found" | "native_validation" | "conversion_error" | "type_not_handled" | "format2_validation" | "reimport_error" | "roundtrip_mismatch" | "subworkflow" | "parse_error" | "other";
        /** HTTPValidationError */
        HTTPValidationError: {
            /** Detail */
            detail?: components["schemas"]["ValidationError"][];
        };
        /**
         * RenameRequest
         * @description Body for PATCH /api/contents/{path} — rename/move.
         */
        RenameRequest: {
            /** Path */
            path: string;
        };
        /**
         * ResolvedOutputType
         * @description Resolved collection type for a step output.
         */
        ResolvedOutputType: {
            /** Name */
            name: string;
            /** Collection Type */
            collection_type?: string | null;
        };
        /** RoundTripResult */
        RoundTripResult: {
            /** Workflow Name */
            workflow_name: string;
            /** Direction */
            direction: string;
            /** Step Results */
            step_results?: components["schemas"]["StepResult"][];
        };
        /**
         * RoundTripValidationResult
         * @description Result of validating a workflow's native→format2→native round-trip.
         */
        RoundTripValidationResult: {
            /** Workflow Path */
            workflow_path: string;
            /**
             * Category
             * @default
             */
            category: string;
            conversion_result?: components["schemas"]["RoundTripResult"] | null;
            /** Diffs */
            diffs?: components["schemas"]["StepDiff"][] | null;
            step_id_mapping?: components["schemas"]["StepIdMappingResult"] | null;
            /** Stale Clean Results */
            stale_clean_results?: components["schemas"]["CleanStepResult"][] | null;
            /** Error */
            error?: string | null;
            skipped_reason?: components["schemas"]["SkipWorkflowReason"] | null;
            /** Structure Errors */
            structure_errors?: string[];
            /** Encoding Errors */
            encoding_errors?: string[];
            /** Error Diffs */
            readonly error_diffs: components["schemas"]["StepDiff"][];
            /** Benign Diffs */
            readonly benign_diffs: components["schemas"]["StepDiff"][];
            /** Ok */
            readonly ok: boolean;
            /** Status */
            readonly status: string;
            /**
             * Conversion Failure Lines
             * @description Pre-formatted per-step conversion failures.
             *
             *     Kept identical to the strings ``_format_conversion_failures`` emits so
             *     templates stay inside the Jinja2/Nunjucks shared subset (no method calls).
             */
            readonly conversion_failure_lines: string[];
            /** Summary Line */
            readonly summary_line: string;
        };
        /**
         * SingleCleanReport
         * @description JSON shape for single-file cleaning.
         */
        SingleCleanReport: {
            /** Workflow */
            workflow: string;
            /** Results */
            results: components["schemas"]["CleanStepResult"][];
            /** Before Content */
            before_content?: string | null;
            /** After Content */
            after_content?: string | null;
            /** Total Removed */
            readonly total_removed: number;
            /** Steps With Removals */
            readonly steps_with_removals: number;
        };
        /**
         * SingleExportReport
         * @description JSON shape for single-file export.
         */
        SingleExportReport: {
            /** Workflow */
            workflow: string;
            /**
             * Ok
             * @default false
             */
            ok: boolean;
            /**
             * Steps Converted
             * @default 0
             */
            steps_converted: number;
            /**
             * Steps Fallback
             * @default 0
             */
            steps_fallback: number;
            /** Summary */
            readonly summary: {
                [key: string]: number;
            };
        };
        /**
         * SingleLintReport
         * @description JSON shape for single-file lint.
         */
        SingleLintReport: {
            /** Workflow */
            workflow: string;
            /**
             * Lint Errors
             * @default 0
             */
            lint_errors: number;
            /**
             * Lint Warnings
             * @default 0
             */
            lint_warnings: number;
            /**
             * Lint Error Messages
             * @default []
             */
            lint_error_messages: string[];
            /**
             * Lint Warning Messages
             * @default []
             */
            lint_warning_messages: string[];
            /**
             * Results
             * @default []
             */
            results: components["schemas"]["ValidationStepResult"][];
            /** Structure Errors */
            structure_errors?: string[];
            /** Encoding Errors */
            encoding_errors?: string[];
            /** Summary */
            readonly summary: {
                [key: string]: number;
            };
        };
        /**
         * SingleRoundTripReport
         * @description JSON shape for single-file roundtrip validation.
         */
        SingleRoundTripReport: {
            /** Workflow */
            workflow: string;
            result: components["schemas"]["RoundTripValidationResult"];
            /** Before Content */
            before_content?: string | null;
            /** After Content */
            after_content?: string | null;
        };
        /**
         * SingleValidationReport
         * @description JSON shape for single-file validation.
         */
        SingleValidationReport: {
            /** Workflow */
            workflow: string;
            /** Results */
            results: components["schemas"]["ValidationStepResult"][];
            connection_report?: components["schemas"]["ConnectionValidationReport"] | null;
            /** Skipped Reason */
            skipped_reason?: string | null;
            /** Structure Errors */
            structure_errors?: string[];
            /** Encoding Errors */
            encoding_errors?: string[];
            clean_report?: components["schemas"]["SingleCleanReport"] | null;
            /** Summary */
            readonly summary: {
                [key: string]: number;
            };
        };
        /**
         * SkipWorkflowReason
         * @enum {string}
         */
        SkipWorkflowReason: "legacy_encoding";
        /** StepDiff */
        StepDiff: {
            /** Step Path */
            step_path: string;
            /** Key Path */
            key_path: string;
            diff_type: components["schemas"]["DiffType"];
            severity: components["schemas"]["DiffSeverity"];
            /** Description */
            description: string;
            /** Original Value */
            original_value?: unknown | null;
            /** Roundtrip Value */
            roundtrip_value?: unknown | null;
            benign_artifact?: components["schemas"]["BenignArtifact"] | null;
        };
        /** StepEncodeStatus */
        StepEncodeStatus: {
            /** Step Id */
            step_id: string;
            /** Step Label */
            step_label?: string | null;
            /** Tool Id */
            tool_id?: string | null;
            /**
             * Encoded
             * @default false
             */
            encoded: boolean;
            /** Error */
            error?: string | null;
        };
        /**
         * StepIdMappingResult
         * @description Result of step ID matching between original and roundtripped workflows.
         */
        StepIdMappingResult: {
            /** Mapping */
            mapping?: {
                [key: string]: string | null;
            };
            /** Match Methods */
            match_methods?: {
                [key: string]: string;
            };
        };
        /** StepResult */
        StepResult: {
            /** Step Id */
            step_id: string;
            /** Tool Id */
            tool_id?: string | null;
            /** Success */
            success: boolean;
            failure_class?: components["schemas"]["FailureClass"] | null;
            /** Error */
            error?: string | null;
            /** Diffs */
            diffs?: components["schemas"]["StepDiff"][];
            /** Format2 State */
            format2_state?: {
                [key: string]: unknown;
            } | null;
            /** Format2 Connections */
            format2_connections?: {
                [key: string]: unknown;
            } | null;
        };
        /** ToNativeResult */
        ToNativeResult: {
            /** Native Dict */
            native_dict: {
                [key: string]: unknown;
            };
            /** Steps */
            steps?: components["schemas"]["StepEncodeStatus"][];
            /** All Encoded */
            readonly all_encoded: boolean;
            /** Summary */
            readonly summary: string;
        };
        /** ValidationError */
        ValidationError: {
            /** Location */
            loc: (string | number)[];
            /** Message */
            msg: string;
            /** Error Type */
            type: string;
            /** Input */
            input?: unknown;
            /** Context */
            ctx?: Record<string, never>;
        };
        /** ValidationStepResult */
        ValidationStepResult: {
            /** Step */
            step: string;
            /** Tool Id */
            tool_id?: string | null;
            /** Version */
            version?: string | null;
            /**
             * Status
             * @enum {string}
             */
            status: "ok" | "fail" | "skip_tool_not_found" | "skip_replacement_params";
            /**
             * Errors
             * @default []
             */
            errors: string[];
        };
        /**
         * WorkflowEntry
         * @description A discovered workflow file.
         */
        WorkflowEntry: {
            /** Relative Path */
            relative_path: string;
            /** Format */
            format: string;
            /** Category */
            category: string;
        };
        /**
         * WorkflowIndex
         * @description Index of all workflows in the target directory.
         */
        WorkflowIndex: {
            /** Directory */
            directory: string;
            /** Workflows */
            workflows: components["schemas"]["WorkflowEntry"][];
        };
        /** CachedToolEntry */
        CachedToolEntry: {
            /** Cache Key */
            cacheKey: string;
            /** Tool Id */
            toolId: string;
            /** Tool Version */
            toolVersion: string;
            /** Source */
            source: string;
            /** Source Url */
            sourceUrl: string;
            /** Cached At */
            cachedAt: string;
            /** Size Bytes */
            sizeBytes?: number;
            /** Decodable */
            decodable: boolean;
            /** Toolshed Url */
            toolshedUrl?: string;
            /** Refetchable */
            refetchable: boolean;
        };
        /** CacheStats */
        CacheStats: {
            /** Count */
            count: number;
            /** Total Bytes */
            totalBytes?: number;
            /** By Source */
            bySource: {
                [key: string]: number;
            };
            /** Oldest */
            oldest?: string;
            /** Newest */
            newest?: string;
        };
        /** ToolCacheListResponse */
        ToolCacheListResponse: {
            entries: components["schemas"]["CachedToolEntry"][];
            stats: components["schemas"]["CacheStats"];
        };
        /** ToolCacheRawResponse */
        ToolCacheRawResponse: {
            /** Contents */
            contents: unknown;
            /** Decodable */
            decodable: boolean;
        };
        /** ToolCacheDeleteResponse */
        ToolCacheDeleteResponse: {
            /** Removed */
            removed: boolean;
        };
        /** ToolCacheClearResponse */
        ToolCacheClearResponse: {
            /** Removed */
            removed: number;
        };
        /** ToolCacheRefetchRequest */
        ToolCacheRefetchRequest: {
            /** Tool Id */
            toolId: string;
            /** Tool Version */
            toolVersion?: string;
        };
        /** ToolCacheRefetchResponse */
        ToolCacheRefetchResponse: {
            /** Cache Key */
            cacheKey: string;
            /** Fetched */
            fetched: boolean;
            /** Already Cached */
            alreadyCached: boolean;
        };
        /** ToolCacheAddRequest */
        ToolCacheAddRequest: {
            /** Tool Id */
            toolId: string;
            /** Tool Version */
            toolVersion?: string;
        };
        /** ToolCacheAddResponse */
        ToolCacheAddResponse: {
            /** Cache Key */
            cacheKey: string;
            /** Already Cached */
            alreadyCached: boolean;
        };
    };
    responses: never;
    parameters: never;
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    list_workflows_workflows_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["WorkflowIndex"];
                };
            };
        };
    };
    refresh_workflows_workflows_refresh_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["WorkflowIndex"];
                };
            };
        };
    };
    validate_workflow_workflows__workflow_path__validate_post: {
        parameters: {
            query?: {
                strict_structure?: boolean;
                strict_encoding?: boolean;
                connections?: boolean;
                mode?: string;
                clean_first?: boolean;
                allow?: string[];
                deny?: string[];
            };
            header?: never;
            path: {
                workflow_path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SingleValidationReport"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    clean_workflow_workflows__workflow_path__clean_post: {
        parameters: {
            query?: {
                preserve?: string[];
                strip?: string[];
                dry_run?: boolean;
            };
            header?: never;
            path: {
                workflow_path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SingleCleanReport"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    export_workflow_workflows__workflow_path__export_post: {
        parameters: {
            query?: {
                dry_run?: boolean;
            };
            header?: never;
            path: {
                workflow_path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ExportResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    convert_workflow_workflows__workflow_path__convert_post: {
        parameters: {
            query?: {
                dry_run?: boolean;
            };
            header?: never;
            path: {
                workflow_path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ConvertResult"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    roundtrip_workflow_workflows__workflow_path__roundtrip_post: {
        parameters: {
            query?: {
                strict_structure?: boolean;
                strict_encoding?: boolean;
                strict_state?: boolean;
                include_content?: boolean;
            };
            header?: never;
            path: {
                workflow_path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SingleRoundTripReport"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    read_root_contents_api_contents_get: {
        parameters: {
            query?: {
                content?: number;
                format?: string | null;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ContentsModel-Output"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    create_root_untitled_api_contents_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ContentsModel-Output"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    list_file_checkpoints_api_contents__path__checkpoints_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CheckpointModel"][];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    create_file_checkpoint_api_contents__path__checkpoints_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CheckpointModel"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    restore_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
                checkpoint_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    delete_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
                checkpoint_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    read_path_contents_api_contents__path__get: {
        parameters: {
            query?: {
                content?: number;
                format?: string | null;
            };
            header?: never;
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ContentsModel-Output"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    write_path_contents_api_contents__path__put: {
        parameters: {
            query?: never;
            header?: {
                "If-Unmodified-Since"?: string | null;
            };
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ContentsModel-Input"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ContentsModel-Output"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    create_path_untitled_api_contents__path__post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ContentsModel-Output"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    delete_path_contents_api_contents__path__delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    rename_path_contents_api_contents__path__patch: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                path: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["RenameRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ContentsModel-Output"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    lint_workflow_workflows__workflow_path__lint_post: {
        parameters: {
            query?: {
                strict_structure?: boolean;
                strict_encoding?: boolean;
                allow?: string[];
                deny?: string[];
            };
            header?: never;
            path: {
                workflow_path: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SingleLintReport"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    list_tool_cache_api_tool_cache_get: {
        parameters: {
            query?: {
                /** @description Set to '1' to probe each entry for ParsedTool decode-ability. Adds N file reads. */
                decode?: "1";
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ToolCacheListResponse"];
                };
            };
        };
    };
    clear_tool_cache_api_tool_cache_delete: {
        parameters: {
            query?: {
                prefix?: string;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ToolCacheClearResponse"];
                };
            };
        };
    };
    get_tool_cache_stats_api_tool_cache_stats_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CacheStats"];
                };
            };
        };
    };
    refetch_tool_cache_api_tool_cache_refetch_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ToolCacheRefetchRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ToolCacheRefetchResponse"];
                };
            };
        };
    };
    add_tool_cache_api_tool_cache_add_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ToolCacheAddRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ToolCacheAddResponse"];
                };
            };
        };
    };
    read_tool_cache_api_tool_cache_key_get: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                cacheKey: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ToolCacheRawResponse"];
                };
            };
        };
    };
    delete_tool_cache_api_tool_cache_key_delete: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                cacheKey: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ToolCacheDeleteResponse"];
                };
            };
        };
    };
}
//# sourceMappingURL=api-types.d.ts.map