import { Bindings, Variables } from "../../types";
import { OpenAPIHono } from "@hono/zod-openapi";
export declare const hooksRoutes: 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: ({
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                url: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                form_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                template_id: "ensure-username" | "set-preferred-username" | "account-linking";
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                code_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            })[] | {
                start: number;
                limit: number;
                length: number;
                hooks: ({
                    trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                    enabled: boolean;
                    synchronous: boolean;
                    created_at: string;
                    updated_at: string;
                    hook_id: string;
                    url: string;
                    priority?: number | undefined;
                    metadata?: {
                        [x: string]: import("hono/utils/types").JSONValue;
                    } | undefined;
                } | {
                    trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                    enabled: boolean;
                    synchronous: boolean;
                    created_at: string;
                    updated_at: string;
                    hook_id: string;
                    form_id: string;
                    priority?: number | undefined;
                    metadata?: {
                        [x: string]: import("hono/utils/types").JSONValue;
                    } | undefined;
                } | {
                    trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
                    enabled: boolean;
                    synchronous: boolean;
                    created_at: string;
                    updated_at: string;
                    hook_id: string;
                    template_id: "ensure-username" | "set-preferred-username" | "account-linking";
                    priority?: number | undefined;
                    metadata?: {
                        [x: string]: import("hono/utils/types").JSONValue;
                    } | undefined;
                } | {
                    trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
                    enabled: boolean;
                    synchronous: boolean;
                    created_at: string;
                    updated_at: string;
                    hook_id: string;
                    code_id: string;
                    priority?: number | undefined;
                    metadata?: {
                        [x: string]: import("hono/utils/types").JSONValue;
                    } | undefined;
                })[];
                total?: number | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/": {
        $post: {
            input: {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                    url: string;
                    enabled?: boolean | undefined;
                    synchronous?: boolean | undefined;
                    priority?: number | undefined;
                    hook_id?: string | undefined;
                    metadata?: Record<string, unknown> | undefined;
                } | {
                    trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                    form_id: string;
                    enabled?: boolean | undefined;
                    synchronous?: boolean | undefined;
                    priority?: number | undefined;
                    hook_id?: string | undefined;
                    metadata?: Record<string, unknown> | undefined;
                } | {
                    trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
                    template_id: "ensure-username" | "set-preferred-username" | "account-linking";
                    enabled?: boolean | undefined;
                    synchronous?: boolean | undefined;
                    priority?: number | undefined;
                    hook_id?: string | undefined;
                    metadata?: Record<string, unknown> | undefined;
                } | {
                    trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
                    code_id: string;
                    enabled?: boolean | undefined;
                    synchronous?: boolean | undefined;
                    priority?: number | undefined;
                    hook_id?: string | undefined;
                    metadata?: Record<string, unknown> | undefined;
                };
            };
            output: {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                url: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                form_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                template_id: "ensure-username" | "set-preferred-username" | "account-linking";
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                code_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            };
            outputFormat: "json";
            status: 201;
        };
    };
} & {
    "/:hook_id": {
        $patch: {
            input: {
                param: {
                    hook_id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: unknown;
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    hook_id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: unknown;
            };
            output: {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                url: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                form_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                template_id: "ensure-username" | "set-preferred-username" | "account-linking";
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                code_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:hook_id": {
        $get: {
            input: {
                param: {
                    hook_id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    hook_id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                url: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                form_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                template_id: "ensure-username" | "set-preferred-username" | "account-linking";
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            } | {
                trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
                enabled: boolean;
                synchronous: boolean;
                created_at: string;
                updated_at: string;
                hook_id: string;
                code_id: string;
                priority?: number | undefined;
                metadata?: {
                    [x: string]: import("hono/utils/types").JSONValue;
                } | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:hook_id": {
        $delete: {
            input: {
                param: {
                    hook_id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        };
    };
}, "/">;
