import { Bindings, Variables } from "../../types";
import { OpenAPIHono } from "@hono/zod-openapi";
export declare const tokenRoutes: OpenAPIHono<{
    Bindings: Bindings;
    Variables: Variables;
}, {
    "/": {
        $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;
        };
    };
}, "/">;
