import { Bindings, Variables } from "../../types";
import { OpenAPIHono } from "@hono/zod-openapi";
export declare const hookCodeRoutes: OpenAPIHono<{
    Bindings: Bindings;
    Variables: Variables;
}, {
    "/": {
        $post: {
            input: {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    code: string;
                    secrets?: Record<string, string> | undefined;
                };
            };
            output: {
                code: string;
                id: string;
                tenant_id: string;
                created_at: string;
                updated_at: string;
                deploymentStatus: "deployed" | "failed" | "not_required";
                secrets?: {
                    [x: string]: string;
                } | undefined;
                deploymentError?: string | 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: {
                code: string;
                id: string;
                tenant_id: string;
                created_at: string;
                updated_at: string;
                secrets?: {
                    [x: string]: string;
                } | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id": {
        $put: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    code: string;
                    secrets?: Record<string, string> | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    code: string;
                    secrets?: Record<string, string> | undefined;
                };
            };
            output: {
                code: string;
                id: string;
                tenant_id: string;
                created_at: string;
                updated_at: string;
                deploymentStatus: "deployed" | "failed" | "not_required";
                secrets?: {
                    [x: string]: string;
                } | undefined;
                deploymentError?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id": {
        $delete: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        };
    };
}, "/">;
