import { Bindings, Variables } from "../../types";
import { OpenAPIHono } from "@hono/zod-openapi";
export declare const actionsRoutes: OpenAPIHono<{
    Bindings: Bindings;
    Variables: Variables;
}, {
    "/": {
        $get: {
            input: {
                query: {
                    page?: string | undefined;
                    per_page?: string | undefined;
                    include_totals?: string | undefined;
                    from?: string | undefined;
                    take?: string | undefined;
                    sort?: string | undefined;
                    q?: string | undefined;
                    from_date?: unknown;
                    to_date?: unknown;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                name: string;
                code: string;
                id: string;
                tenant_id: string;
                status: "draft" | "built";
                created_at: string;
                updated_at: string;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                is_system?: boolean | undefined;
                inherit?: boolean | undefined;
                deployed_at?: string | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
            }[] | {
                start: number;
                limit: number;
                length: number;
                actions: {
                    name: string;
                    code: string;
                    id: string;
                    tenant_id: string;
                    status: "draft" | "built";
                    created_at: string;
                    updated_at: string;
                    supported_triggers?: {
                        id: string;
                        version?: string | undefined;
                    }[] | undefined;
                    runtime?: string | undefined;
                    dependencies?: {
                        name: string;
                        version: string;
                    }[] | undefined;
                    is_system?: boolean | undefined;
                    inherit?: boolean | undefined;
                    deployed_at?: string | undefined;
                    secrets?: {
                        name: string;
                        value?: string | undefined;
                    }[] | undefined;
                }[];
                total?: number | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/": {
        $post: {
            input: {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    name: string;
                    code: string;
                    supported_triggers?: {
                        id: string;
                        version?: string | undefined;
                    }[] | undefined;
                    runtime?: string | undefined;
                    dependencies?: {
                        name: string;
                        version: string;
                    }[] | undefined;
                    secrets?: {
                        name: string;
                        value?: string | undefined;
                    }[] | undefined;
                    is_system?: boolean | undefined;
                    inherit?: boolean | undefined;
                };
            };
            output: {
                name: string;
                code: string;
                id: string;
                tenant_id: string;
                status: "draft" | "built";
                created_at: string;
                updated_at: string;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                is_system?: boolean | undefined;
                inherit?: boolean | undefined;
                deployed_at?: string | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
            };
            outputFormat: "json";
            status: 201;
        };
    };
} & {
    "/:id": {
        $get: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                name: string;
                code: string;
                id: string;
                tenant_id: string;
                status: "draft" | "built";
                created_at: string;
                updated_at: string;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                is_system?: boolean | undefined;
                inherit?: boolean | undefined;
                deployed_at?: string | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id": {
        $patch: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    name?: string | undefined;
                    code?: string | undefined;
                    supported_triggers?: {
                        id: string;
                        version?: string | undefined;
                    }[] | undefined;
                    runtime?: string | undefined;
                    dependencies?: {
                        name: string;
                        version: string;
                    }[] | undefined;
                    secrets?: {
                        name: string;
                        value?: string | undefined;
                    }[] | undefined;
                    is_system?: boolean | undefined;
                    inherit?: boolean | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    name?: string | undefined;
                    code?: string | undefined;
                    supported_triggers?: {
                        id: string;
                        version?: string | undefined;
                    }[] | undefined;
                    runtime?: string | undefined;
                    dependencies?: {
                        name: string;
                        version: string;
                    }[] | undefined;
                    secrets?: {
                        name: string;
                        value?: string | undefined;
                    }[] | undefined;
                    is_system?: boolean | undefined;
                    inherit?: boolean | undefined;
                };
            };
            output: {
                name: string;
                code: string;
                id: string;
                tenant_id: string;
                status: "draft" | "built";
                created_at: string;
                updated_at: string;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                is_system?: boolean | undefined;
                inherit?: boolean | undefined;
                deployed_at?: string | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id": {
        $delete: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 409;
        };
    };
} & {
    "/:id/deploy": {
        $post: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                name: string;
                code: string;
                id: string;
                tenant_id: string;
                status: "draft" | "built";
                created_at: string;
                updated_at: string;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                is_system?: boolean | undefined;
                inherit?: boolean | undefined;
                deployed_at?: string | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:actionId/versions": {
        $get: {
            input: {
                param: {
                    actionId: string;
                };
            } & {
                query: {
                    page?: string | undefined;
                    per_page?: string | undefined;
                    include_totals?: string | undefined;
                    from?: string | undefined;
                    take?: string | undefined;
                    sort?: string | undefined;
                    q?: string | undefined;
                    from_date?: unknown;
                    to_date?: unknown;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    actionId: string;
                };
            } & {
                query: {
                    page?: string | undefined;
                    per_page?: string | undefined;
                    include_totals?: string | undefined;
                    from?: string | undefined;
                    take?: string | undefined;
                    sort?: string | undefined;
                    q?: string | undefined;
                    from_date?: unknown;
                    to_date?: unknown;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                versions: {
                    action_id: string;
                    code: string;
                    deployed: boolean;
                    id: string;
                    tenant_id: string;
                    number: number;
                    created_at: string;
                    updated_at: string;
                    runtime?: string | undefined;
                    dependencies?: {
                        name: string;
                        version: string;
                    }[] | undefined;
                    secrets?: {
                        name: string;
                        value?: string | undefined;
                    }[] | undefined;
                    supported_triggers?: {
                        id: string;
                        version?: string | undefined;
                    }[] | undefined;
                }[];
            } | {
                start: number;
                limit: number;
                length: number;
                versions: {
                    action_id: string;
                    code: string;
                    deployed: boolean;
                    id: string;
                    tenant_id: string;
                    number: number;
                    created_at: string;
                    updated_at: string;
                    runtime?: string | undefined;
                    dependencies?: {
                        name: string;
                        version: string;
                    }[] | undefined;
                    secrets?: {
                        name: string;
                        value?: string | undefined;
                    }[] | undefined;
                    supported_triggers?: {
                        id: string;
                        version?: string | undefined;
                    }[] | undefined;
                }[];
                total?: number | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:actionId/versions/:id": {
        $get: {
            input: {
                param: {
                    actionId: string;
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    actionId: string;
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                action_id: string;
                code: string;
                deployed: boolean;
                id: string;
                tenant_id: string;
                number: number;
                created_at: string;
                updated_at: string;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:actionId/versions/:id/deploy": {
        $post: {
            input: {
                param: {
                    actionId: string;
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    actionId: string;
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                name: string;
                code: string;
                id: string;
                tenant_id: string;
                status: "draft" | "built";
                created_at: string;
                updated_at: string;
                supported_triggers?: {
                    id: string;
                    version?: string | undefined;
                }[] | undefined;
                runtime?: string | undefined;
                dependencies?: {
                    name: string;
                    version: string;
                }[] | undefined;
                is_system?: boolean | undefined;
                inherit?: boolean | undefined;
                deployed_at?: string | undefined;
                secrets?: {
                    name: string;
                    value?: string | undefined;
                }[] | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id/test": {
        $post: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    trigger_id?: string | undefined;
                    event?: Record<string, unknown> | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    trigger_id?: string | undefined;
                    event?: Record<string, unknown> | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 503;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    trigger_id?: string | undefined;
                    event?: Record<string, unknown> | undefined;
                };
            };
            output: {
                success: boolean;
                duration_ms: number;
                api_calls: {
                    method: string;
                    args: import("hono/utils/types").JSONValue[];
                }[];
                logs: {
                    level: "error" | "log" | "info" | "warn" | "debug";
                    message: string;
                }[];
                error?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
}, "/">;
