import { OpenAPIHono } from "@hono/zod-openapi";
import { Bindings, Variables } from "../../types";
export declare const flowsRoutes: 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;
                actions: ({
                    id: string;
                    type: "AUTH0";
                    action: "UPDATE_USER";
                    params: {
                        user_id: string;
                        changes: {
                            [x: string]: any;
                        };
                        connection_id?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "EMAIL";
                    action: "VERIFY_EMAIL";
                    params: {
                        email: string;
                        rules?: {
                            require_mx_record?: boolean | undefined;
                            block_aliases?: boolean | undefined;
                            block_free_emails?: boolean | undefined;
                            block_disposable_emails?: boolean | undefined;
                            blocklist?: string[] | undefined;
                            allowlist?: string[] | undefined;
                        } | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "REDIRECT";
                    action: "REDIRECT_USER";
                    params: {
                        target: "custom" | "change-email" | "account";
                        custom_url?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                })[];
                created_at: string;
                updated_at: string;
                id: string;
            }[] | {
                start: number;
                limit: number;
                length: number;
                flows: {
                    name: string;
                    actions: ({
                        id: string;
                        type: "AUTH0";
                        action: "UPDATE_USER";
                        params: {
                            user_id: string;
                            changes: {
                                [x: string]: any;
                            };
                            connection_id?: string | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    } | {
                        id: string;
                        type: "EMAIL";
                        action: "VERIFY_EMAIL";
                        params: {
                            email: string;
                            rules?: {
                                require_mx_record?: boolean | undefined;
                                block_aliases?: boolean | undefined;
                                block_free_emails?: boolean | undefined;
                                block_disposable_emails?: boolean | undefined;
                                blocklist?: string[] | undefined;
                                allowlist?: string[] | undefined;
                            } | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    } | {
                        id: string;
                        type: "REDIRECT";
                        action: "REDIRECT_USER";
                        params: {
                            target: "custom" | "change-email" | "account";
                            custom_url?: string | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    })[];
                    created_at: string;
                    updated_at: string;
                    id: string;
                }[];
                total?: number | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id": {
        $get: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {
                name: string;
                actions: ({
                    id: string;
                    type: "AUTH0";
                    action: "UPDATE_USER";
                    params: {
                        user_id: string;
                        changes: {
                            [x: string]: any;
                        };
                        connection_id?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "EMAIL";
                    action: "VERIFY_EMAIL";
                    params: {
                        email: string;
                        rules?: {
                            require_mx_record?: boolean | undefined;
                            block_aliases?: boolean | undefined;
                            block_free_emails?: boolean | undefined;
                            block_disposable_emails?: boolean | undefined;
                            blocklist?: string[] | undefined;
                            allowlist?: string[] | undefined;
                        } | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "REDIRECT";
                    action: "REDIRECT_USER";
                    params: {
                        target: "custom" | "change-email" | "account";
                        custom_url?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                })[];
                created_at: string;
                updated_at: string;
                id: string;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:id": {
        $delete: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        };
    };
} & {
    "/:id": {
        $patch: {
            input: {
                param: {
                    id: string;
                };
            } & {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    name?: string | undefined;
                    actions?: ({
                        id: string;
                        type: "AUTH0";
                        action: "UPDATE_USER";
                        params: {
                            user_id: string;
                            changes: Record<string, any>;
                            connection_id?: string | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    } | {
                        id: string;
                        type: "EMAIL";
                        action: "VERIFY_EMAIL";
                        params: {
                            email: string;
                            rules?: {
                                require_mx_record?: boolean | undefined;
                                block_aliases?: boolean | undefined;
                                block_free_emails?: boolean | undefined;
                                block_disposable_emails?: boolean | undefined;
                                blocklist?: string[] | undefined;
                                allowlist?: string[] | undefined;
                            } | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    } | {
                        id: string;
                        type: "REDIRECT";
                        action: "REDIRECT_USER";
                        params: {
                            target: "custom" | "change-email" | "account";
                            custom_url?: string | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    })[] | undefined;
                };
            };
            output: {
                name: string;
                actions: ({
                    id: string;
                    type: "AUTH0";
                    action: "UPDATE_USER";
                    params: {
                        user_id: string;
                        changes: {
                            [x: string]: any;
                        };
                        connection_id?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "EMAIL";
                    action: "VERIFY_EMAIL";
                    params: {
                        email: string;
                        rules?: {
                            require_mx_record?: boolean | undefined;
                            block_aliases?: boolean | undefined;
                            block_free_emails?: boolean | undefined;
                            block_disposable_emails?: boolean | undefined;
                            blocklist?: string[] | undefined;
                            allowlist?: string[] | undefined;
                        } | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "REDIRECT";
                    action: "REDIRECT_USER";
                    params: {
                        target: "custom" | "change-email" | "account";
                        custom_url?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                })[];
                created_at: string;
                updated_at: string;
                id: string;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/": {
        $post: {
            input: {
                header: {
                    "tenant-id"?: string | undefined;
                };
            } & {
                json: {
                    name: string;
                    actions?: ({
                        id: string;
                        type: "AUTH0";
                        action: "UPDATE_USER";
                        params: {
                            user_id: string;
                            changes: Record<string, any>;
                            connection_id?: string | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    } | {
                        id: string;
                        type: "EMAIL";
                        action: "VERIFY_EMAIL";
                        params: {
                            email: string;
                            rules?: {
                                require_mx_record?: boolean | undefined;
                                block_aliases?: boolean | undefined;
                                block_free_emails?: boolean | undefined;
                                block_disposable_emails?: boolean | undefined;
                                blocklist?: string[] | undefined;
                                allowlist?: string[] | undefined;
                            } | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    } | {
                        id: string;
                        type: "REDIRECT";
                        action: "REDIRECT_USER";
                        params: {
                            target: "custom" | "change-email" | "account";
                            custom_url?: string | undefined;
                        };
                        alias?: string | undefined;
                        allow_failure?: boolean | undefined;
                        mask_output?: boolean | undefined;
                    })[] | undefined;
                };
            };
            output: {
                name: string;
                actions: ({
                    id: string;
                    type: "AUTH0";
                    action: "UPDATE_USER";
                    params: {
                        user_id: string;
                        changes: {
                            [x: string]: any;
                        };
                        connection_id?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "EMAIL";
                    action: "VERIFY_EMAIL";
                    params: {
                        email: string;
                        rules?: {
                            require_mx_record?: boolean | undefined;
                            block_aliases?: boolean | undefined;
                            block_free_emails?: boolean | undefined;
                            block_disposable_emails?: boolean | undefined;
                            blocklist?: string[] | undefined;
                            allowlist?: string[] | undefined;
                        } | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                } | {
                    id: string;
                    type: "REDIRECT";
                    action: "REDIRECT_USER";
                    params: {
                        target: "custom" | "change-email" | "account";
                        custom_url?: string | undefined;
                    };
                    alias?: string | undefined;
                    allow_failure?: boolean | undefined;
                    mask_output?: boolean | undefined;
                })[];
                created_at: string;
                updated_at: string;
                id: string;
            };
            outputFormat: "json";
            status: 201;
        };
    };
}, "/">;
