import { OpenAPIHono } from "@hono/zod-openapi";
import { AuthHeroConfig, Bindings, Variables } from "../../types";
export default function create(config: AuthHeroConfig): OpenAPIHono<{
    Bindings: Bindings;
    Variables: Variables;
}, import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                query: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 500;
        };
    };
} & {
    "/": {
        $post: {
            input: {
                form: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                form: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                form: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 500;
        };
    };
}, "/login/callback"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                query: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 500;
        };
    };
} & {
    "/": {
        $post: {
            input: {
                form: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                form: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                form: {
                    state: string;
                    code?: string | undefined;
                    scope?: string | undefined;
                    hd?: string | undefined;
                    error?: string | undefined;
                    error_description?: string | undefined;
                    error_code?: string | undefined;
                    error_reason?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 500;
        };
    };
}, "/callback"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    domain: string;
                    return_to: string;
                    state: string;
                    integration_type?: string | undefined;
                    scope?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    domain: string;
                    return_to: string;
                    state: string;
                    integration_type?: string | undefined;
                    scope?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {};
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                query: {
                    domain: string;
                    return_to: string;
                    state: string;
                    integration_type?: string | undefined;
                    scope?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {};
            outputFormat: "json";
            status: 404;
        };
    };
}, "/connect/start"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $post: {
            input: {
                json: {
                    redirect_uris?: string[] | undefined;
                    client_name?: string | undefined;
                    client_uri?: string | undefined;
                    logo_uri?: string | undefined;
                    tos_uri?: string | undefined;
                    policy_uri?: string | undefined;
                    contacts?: string[] | undefined;
                    scope?: string | undefined;
                    grant_types?: string[] | undefined;
                    response_types?: string[] | undefined;
                    token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
                    jwks_uri?: string | undefined;
                    jwks?: Record<string, unknown> | undefined;
                    software_id?: string | undefined;
                    software_version?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {
                client_id: string;
                registration_client_uri: string;
                client_secret?: string | undefined;
                client_id_issued_at?: number | undefined;
                client_secret_expires_at?: number | undefined;
                registration_access_token?: string | undefined;
                client_name?: string | undefined;
                redirect_uris?: string[] | undefined;
                grant_types?: string[] | undefined;
                response_types?: string[] | undefined;
                token_endpoint_auth_method?: string | undefined;
                logo_uri?: string | undefined;
                client_uri?: string | undefined;
                tos_uri?: string | undefined;
                policy_uri?: string | undefined;
                contacts?: string[] | undefined;
                scope?: string | undefined;
                jwks_uri?: string | undefined;
                software_id?: string | undefined;
                software_version?: string | undefined;
            };
            outputFormat: "json";
            status: 201;
        };
    };
} & {
    "/:client_id": {
        $get: {
            input: {
                param: {
                    client_id: string;
                };
            };
            output: {
                client_id: string;
                registration_client_uri: string;
                client_secret?: string | undefined;
                client_id_issued_at?: number | undefined;
                client_secret_expires_at?: number | undefined;
                registration_access_token?: string | undefined;
                client_name?: string | undefined;
                redirect_uris?: string[] | undefined;
                grant_types?: string[] | undefined;
                response_types?: string[] | undefined;
                token_endpoint_auth_method?: string | undefined;
                logo_uri?: string | undefined;
                client_uri?: string | undefined;
                tos_uri?: string | undefined;
                policy_uri?: string | undefined;
                contacts?: string[] | undefined;
                scope?: string | undefined;
                jwks_uri?: string | undefined;
                software_id?: string | undefined;
                software_version?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:client_id": {
        $put: {
            input: {
                param: {
                    client_id: string;
                };
            } & {
                json: {
                    redirect_uris?: string[] | undefined;
                    client_name?: string | undefined;
                    client_uri?: string | undefined;
                    logo_uri?: string | undefined;
                    tos_uri?: string | undefined;
                    policy_uri?: string | undefined;
                    contacts?: string[] | undefined;
                    scope?: string | undefined;
                    grant_types?: string[] | undefined;
                    response_types?: string[] | undefined;
                    token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
                    jwks_uri?: string | undefined;
                    jwks?: Record<string, unknown> | undefined;
                    software_id?: string | undefined;
                    software_version?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {
                client_id: string;
                registration_client_uri: string;
                client_secret?: string | undefined;
                client_id_issued_at?: number | undefined;
                client_secret_expires_at?: number | undefined;
                registration_access_token?: string | undefined;
                client_name?: string | undefined;
                redirect_uris?: string[] | undefined;
                grant_types?: string[] | undefined;
                response_types?: string[] | undefined;
                token_endpoint_auth_method?: string | undefined;
                logo_uri?: string | undefined;
                client_uri?: string | undefined;
                tos_uri?: string | undefined;
                policy_uri?: string | undefined;
                contacts?: string[] | undefined;
                scope?: string | undefined;
                jwks_uri?: string | undefined;
                software_id?: string | undefined;
                software_version?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/:client_id": {
        $delete: {
            input: {
                param: {
                    client_id: string;
                };
            };
            output: {};
            outputFormat: string;
            status: 204;
        };
    };
}, "/oidc/register"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    client_id: string;
                    redirect_url?: string | undefined;
                    login_hint?: string | undefined;
                    screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    client_id: string;
                    redirect_url?: string | undefined;
                    login_hint?: string | undefined;
                    screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        };
    };
}, "/account"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    [x: string]: unknown;
                    client_id: string;
                    vendor_id?: string | undefined;
                    redirect_uri?: string | undefined;
                    scope?: string | undefined;
                    state?: string | undefined;
                    prompt?: string | undefined;
                    response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                    response_type?: unknown;
                    audience?: string | undefined;
                    connection?: string | undefined;
                    nonce?: string | undefined;
                    max_age?: string | undefined;
                    acr_values?: string | undefined;
                    login_ticket?: string | undefined;
                    code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                    code_challenge?: string | undefined;
                    realm?: string | undefined;
                    auth0Client?: string | undefined;
                    organization?: string | undefined;
                    login_hint?: string | undefined;
                    ui_locales?: string | undefined;
                    claims?: string | Record<string, any> | undefined;
                    screen_hint?: string | undefined;
                    request?: string | undefined;
                    request_uri?: string | undefined;
                };
            };
            output: Response;
            outputFormat: "json";
            status: import("hono/utils/http-status").StatusCode;
        } | {
            input: {
                query: {
                    [x: string]: unknown;
                    client_id: string;
                    vendor_id?: string | undefined;
                    redirect_uri?: string | undefined;
                    scope?: string | undefined;
                    state?: string | undefined;
                    prompt?: string | undefined;
                    response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                    response_type?: unknown;
                    audience?: string | undefined;
                    connection?: string | undefined;
                    nonce?: string | undefined;
                    max_age?: string | undefined;
                    acr_values?: string | undefined;
                    login_ticket?: string | undefined;
                    code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                    code_challenge?: string | undefined;
                    realm?: string | undefined;
                    auth0Client?: string | undefined;
                    organization?: string | undefined;
                    login_hint?: string | undefined;
                    ui_locales?: string | undefined;
                    claims?: string | Record<string, any> | undefined;
                    screen_hint?: string | undefined;
                    request?: string | undefined;
                    request_uri?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    [x: string]: unknown;
                    client_id: string;
                    vendor_id?: string | undefined;
                    redirect_uri?: string | undefined;
                    scope?: string | undefined;
                    state?: string | undefined;
                    prompt?: string | undefined;
                    response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                    response_type?: unknown;
                    audience?: string | undefined;
                    connection?: string | undefined;
                    nonce?: string | undefined;
                    max_age?: string | undefined;
                    acr_values?: string | undefined;
                    login_ticket?: string | undefined;
                    code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                    code_challenge?: string | undefined;
                    realm?: string | undefined;
                    auth0Client?: string | undefined;
                    organization?: string | undefined;
                    login_hint?: string | undefined;
                    ui_locales?: string | undefined;
                    claims?: string | Record<string, any> | undefined;
                    screen_hint?: string | undefined;
                    request?: string | undefined;
                    request_uri?: string | undefined;
                };
            };
            output: string | {
                access_token: string;
                token_type: string;
                expires_in: number;
                id_token?: string | undefined;
                scope?: string | undefined;
                state?: string | undefined;
                refresh_token?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        } | {
            input: {
                query: {
                    [x: string]: unknown;
                    client_id: string;
                    vendor_id?: string | undefined;
                    redirect_uri?: string | undefined;
                    scope?: string | undefined;
                    state?: string | undefined;
                    prompt?: string | undefined;
                    response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                    response_type?: unknown;
                    audience?: string | undefined;
                    connection?: string | undefined;
                    nonce?: string | undefined;
                    max_age?: string | undefined;
                    acr_values?: string | undefined;
                    login_ticket?: string | undefined;
                    code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                    code_challenge?: string | undefined;
                    realm?: string | undefined;
                    auth0Client?: string | undefined;
                    organization?: string | undefined;
                    login_hint?: string | undefined;
                    ui_locales?: string | undefined;
                    claims?: string | Record<string, any> | undefined;
                    screen_hint?: string | undefined;
                    request?: string | undefined;
                    request_uri?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                query: {
                    [x: string]: unknown;
                    client_id: string;
                    vendor_id?: string | undefined;
                    redirect_uri?: string | undefined;
                    scope?: string | undefined;
                    state?: string | undefined;
                    prompt?: string | undefined;
                    response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                    response_type?: unknown;
                    audience?: string | undefined;
                    connection?: string | undefined;
                    nonce?: string | undefined;
                    max_age?: string | undefined;
                    acr_values?: string | undefined;
                    login_ticket?: string | undefined;
                    code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                    code_challenge?: string | undefined;
                    realm?: string | undefined;
                    auth0Client?: string | undefined;
                    organization?: string | undefined;
                    login_hint?: string | undefined;
                    ui_locales?: string | undefined;
                    claims?: string | Record<string, any> | undefined;
                    screen_hint?: string | undefined;
                    request?: string | undefined;
                    request_uri?: string | undefined;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 403;
        };
    };
} & {
    "/resume": {
        $get: {
            input: {
                query: {
                    state: string;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    state: string;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                query: {
                    state: string;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 403;
        } | {
            input: {
                query: {
                    state: string;
                };
            };
            output: {
                message: string;
            };
            outputFormat: "json";
            status: 409;
        };
    };
}, "/authorize"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $post: {
            input: {
                json: {
                    credential_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    otp: string;
                    client_id: string;
                    username: string;
                    realm: "email";
                    scope?: string | undefined;
                } | {
                    credential_type: "http://auth0.com/oauth/grant-type/password-realm";
                    client_id: string;
                    username: string;
                    password: string;
                    realm: "Username-Password-Authentication";
                    scope?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        };
    };
}, "/co/authenticate"> & import("hono/types").MergeSchemaPath<{
    "/start": {
        $post: {
            input: {
                json: {
                    connection: "email";
                    client_id: string;
                    email: string;
                    send: "code" | "link";
                    authParams: {
                        act_as?: string | undefined;
                        response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
                        response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                        redirect_uri?: string | undefined;
                        audience?: string | undefined;
                        organization?: string | undefined;
                        state?: string | undefined;
                        nonce?: string | undefined;
                        scope?: string | undefined;
                        prompt?: string | undefined;
                        code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                        code_challenge?: string | undefined;
                        username?: string | undefined;
                        ui_locales?: string | undefined;
                        max_age?: number | undefined;
                        acr_values?: string | undefined;
                        claims?: {
                            userinfo?: Record<string, {
                                essential?: boolean | undefined;
                                value?: unknown;
                                values?: unknown[] | undefined;
                            } | null> | undefined;
                            id_token?: Record<string, {
                                essential?: boolean | undefined;
                                value?: unknown;
                                values?: unknown[] | undefined;
                            } | null> | undefined;
                        } | undefined;
                        vendor_id?: string | undefined;
                    };
                } | {
                    client_id: string;
                    connection: "sms";
                    phone_number: string;
                    send: "code" | "link";
                    authParams: {
                        act_as?: string | undefined;
                        response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
                        response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
                        redirect_uri?: string | undefined;
                        audience?: string | undefined;
                        organization?: string | undefined;
                        state?: string | undefined;
                        nonce?: string | undefined;
                        scope?: string | undefined;
                        prompt?: string | undefined;
                        code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
                        code_challenge?: string | undefined;
                        username?: string | undefined;
                        ui_locales?: string | undefined;
                        max_age?: number | undefined;
                        acr_values?: string | undefined;
                        claims?: {
                            userinfo?: Record<string, {
                                essential?: boolean | undefined;
                                value?: unknown;
                                values?: unknown[] | undefined;
                            } | null> | undefined;
                            id_token?: Record<string, {
                                essential?: boolean | undefined;
                                value?: unknown;
                                values?: unknown[] | undefined;
                            } | null> | undefined;
                        } | undefined;
                        vendor_id?: string | undefined;
                    };
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        };
    };
} & {
    "/verify_redirect": {
        $get: {
            input: {
                query: {
                    scope: string;
                    response_type: import("@authhero/adapter-interfaces").AuthorizationResponseType;
                    redirect_uri: string;
                    state: string;
                    verification_code: string;
                    connection: string;
                    client_id: string;
                    email: string;
                    nonce?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    scope: string;
                    response_type: import("@authhero/adapter-interfaces").AuthorizationResponseType;
                    redirect_uri: string;
                    state: string;
                    verification_code: string;
                    connection: string;
                    client_id: string;
                    email: string;
                    nonce?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                query: {
                    scope: string;
                    response_type: import("@authhero/adapter-interfaces").AuthorizationResponseType;
                    redirect_uri: string;
                    state: string;
                    verification_code: string;
                    connection: string;
                    client_id: string;
                    email: string;
                    nonce?: string | undefined;
                    audience?: string | undefined;
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 500;
        };
    };
}, "/passwordless"> & import("hono/types").MergeSchemaPath<{
    "/signup": {
        $post: {
            input: {
                json: {
                    client_id: string;
                    connection: "Username-Password-Authentication";
                    email: string;
                    password: string;
                };
            };
            output: {
                _id: string;
                email_verified: boolean;
                app_metadata: {};
                user_metadata: {};
                email?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/change_password": {
        $post: {
            input: {
                json: {
                    client_id: string;
                    connection: "Username-Password-Authentication";
                    email: string;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        };
    };
}, "/dbconnections"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $post: {
            input: {
                form: {
                    token: string;
                    token_type_hint?: "refresh_token" | "access_token" | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                };
            } & {
                json: {
                    token: string;
                    token_type_hint?: "refresh_token" | "access_token" | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        } | {
            input: {
                form: {
                    token: string;
                    token_type_hint?: "refresh_token" | "access_token" | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                };
            } & {
                json: {
                    token: string;
                    token_type_hint?: "refresh_token" | "access_token" | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                form: {
                    token: string;
                    token_type_hint?: "refresh_token" | "access_token" | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                };
            } & {
                json: {
                    token: string;
                    token_type_hint?: "refresh_token" | "access_token" | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 401;
        };
    };
}, "/oauth/revoke"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $post: {
            input: {
                form: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            } & {
                json: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                form: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            } & {
                json: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            };
            output: {
                access_token: string;
                token_type: string;
                expires_in: number;
                id_token?: string | undefined;
                scope?: string | undefined;
                state?: string | undefined;
                refresh_token?: string | undefined;
            };
            outputFormat: "json";
            status: 200;
        } | {
            input: {
                form: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            } & {
                json: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 400;
        } | {
            input: {
                form: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            } & {
                json: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 401;
        } | {
            input: {
                form: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            } & {
                json: {
                    grant_type: "client_credentials";
                    scope?: string | undefined;
                    audience?: string | undefined;
                    organization?: string | undefined;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                } | {
                    grant_type: "authorization_code";
                    code: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    code_verifier?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "refresh_token";
                    refresh_token: string;
                    client_id?: string | undefined;
                    client_secret?: string | undefined;
                    client_assertion?: string | undefined;
                    client_assertion_type?: string | undefined;
                    redirect_uri?: string | undefined;
                    organization?: string | undefined;
                } | {
                    grant_type: "http://auth0.com/oauth/grant-type/passwordless/otp";
                    client_id: string;
                    username: string;
                    otp: string;
                    realm: "email" | "sms";
                };
            };
            output: {
                error: string;
                error_description?: string | undefined;
            };
            outputFormat: "json";
            status: 403;
        };
    };
}, "/oauth/token"> & import("hono/types").MergeSchemaPath<{
    "/jwks.json": {
        $get: {
            input: {};
            output: {
                keys: {
                    alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
                    kid: string;
                    kty: "RSA" | "EC" | "oct";
                    use?: "sig" | "enc" | undefined;
                    n?: string | undefined;
                    e?: string | undefined;
                    crv?: string | undefined;
                    x?: string | undefined;
                    y?: string | undefined;
                    x5t?: string | undefined;
                    x5c?: string[] | undefined;
                }[];
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/openid-configuration": {
        $get: {
            input: {};
            output: {
                issuer: string;
                authorization_endpoint: string;
                token_endpoint: string;
                userinfo_endpoint: string;
                jwks_uri: string;
                revocation_endpoint: string;
                scopes_supported: string[];
                response_types_supported: string[];
                code_challenge_methods_supported: string[];
                response_modes_supported: string[];
                subject_types_supported: string[];
                id_token_signing_alg_values_supported: string[];
                token_endpoint_auth_methods_supported: string[];
                claims_supported: string[];
                request_uri_parameter_supported: boolean;
                request_parameter_supported: boolean;
                token_endpoint_auth_signing_alg_values_supported: string[];
                registration_endpoint?: string | undefined;
                end_session_endpoint?: string | undefined;
                grant_types_supported?: string[] | undefined;
                claims_parameter_supported?: boolean | undefined;
                request_object_signing_alg_values_supported?: string[] | undefined;
                client_id_metadata_document_supported?: boolean | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/oauth-authorization-server": {
        $get: {
            input: {};
            output: {
                issuer: string;
                authorization_endpoint: string;
                token_endpoint: string;
                userinfo_endpoint: string;
                jwks_uri: string;
                revocation_endpoint: string;
                scopes_supported: string[];
                response_types_supported: string[];
                code_challenge_methods_supported: string[];
                response_modes_supported: string[];
                subject_types_supported: string[];
                id_token_signing_alg_values_supported: string[];
                token_endpoint_auth_methods_supported: string[];
                claims_supported: string[];
                request_uri_parameter_supported: boolean;
                request_parameter_supported: boolean;
                token_endpoint_auth_signing_alg_values_supported: string[];
                registration_endpoint?: string | undefined;
                end_session_endpoint?: string | undefined;
                grant_types_supported?: string[] | undefined;
                claims_parameter_supported?: boolean | undefined;
                request_object_signing_alg_values_supported?: string[] | undefined;
                client_id_metadata_document_supported?: boolean | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/*": {
        $get: {
            input: {};
            output: "Not Found";
            outputFormat: "text";
            status: 404;
        } | {
            input: {};
            output: string;
            outputFormat: "text";
            status: 200;
        };
    };
}, "/.well-known"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {};
            output: {
                sub: string;
                email?: string | undefined;
                email_verified?: boolean | undefined;
                phone_number?: string | undefined;
                phone_number_verified?: boolean | undefined;
                name?: string | undefined;
                family_name?: string | undefined;
                given_name?: string | undefined;
                middle_name?: string | undefined;
                nickname?: string | undefined;
                preferred_username?: string | undefined;
                profile?: string | undefined;
                picture?: string | undefined;
                website?: string | undefined;
                gender?: string | undefined;
                birthdate?: string | undefined;
                zoneinfo?: string | undefined;
                locale?: string | undefined;
                updated_at?: number | undefined;
                address?: {
                    formatted?: string | undefined;
                    street_address?: string | undefined;
                    locality?: string | undefined;
                    region?: string | undefined;
                    postal_code?: string | undefined;
                    country?: string | undefined;
                } | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
} & {
    "/": {
        $post: {
            input: {
                form: {
                    access_token?: string | undefined;
                };
            };
            output: {
                sub: string;
                email?: string | undefined;
                email_verified?: boolean | undefined;
                phone_number?: string | undefined;
                phone_number_verified?: boolean | undefined;
                name?: string | undefined;
                family_name?: string | undefined;
                given_name?: string | undefined;
                middle_name?: string | undefined;
                nickname?: string | undefined;
                preferred_username?: string | undefined;
                profile?: string | undefined;
                picture?: string | undefined;
                website?: string | undefined;
                gender?: string | undefined;
                birthdate?: string | undefined;
                zoneinfo?: string | undefined;
                locale?: string | undefined;
                updated_at?: number | undefined;
                address?: {
                    formatted?: string | undefined;
                    street_address?: string | undefined;
                    locality?: string | undefined;
                    region?: string | undefined;
                    postal_code?: string | undefined;
                    country?: string | undefined;
                } | undefined;
            };
            outputFormat: "json";
            status: 200;
        };
    };
}, "/userinfo"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    id_token_hint?: string | undefined;
                    client_id?: string | undefined;
                    post_logout_redirect_uri?: string | undefined;
                    state?: string | undefined;
                    logout_hint?: string | undefined;
                    ui_locales?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        } | {
            input: {
                query: {
                    id_token_hint?: string | undefined;
                    client_id?: string | undefined;
                    post_logout_redirect_uri?: string | undefined;
                    state?: string | undefined;
                    logout_hint?: string | undefined;
                    ui_locales?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        } | {
            input: {
                query: {
                    id_token_hint?: string | undefined;
                    client_id?: string | undefined;
                    post_logout_redirect_uri?: string | undefined;
                    state?: string | undefined;
                    logout_hint?: string | undefined;
                    ui_locales?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 400;
        };
    };
}, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
    "/": {
        $get: {
            input: {
                query: {
                    client_id: string;
                    returnTo?: string | undefined;
                };
            };
            output: {};
            outputFormat: string;
            status: 302;
        };
    };
}, "/v2/logout">, "/">;
