import type { SpecConfiguration } from '@scalar/oas-utils';
import { type MaybeRefOrGetter } from 'vue';
/**
 * Keep the raw spec content in a ref and update it when the configuration changes.
 */
export declare function useReactiveSpec({ specConfig, proxy, }: {
    specConfig?: MaybeRefOrGetter<SpecConfiguration>;
    proxy?: MaybeRefOrGetter<string>;
}): {
    rawSpec: import("vue").Ref<string>;
    parsedSpec: {
        tags?: {
            name: string;
            description: string;
            operations: {
                httpVerb: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
                path: string;
                operationId?: string | undefined;
                name?: string | undefined;
                description?: string | undefined;
                information?: {
                    description?: string | undefined;
                    operationId?: string | number | undefined;
                    parameters?: {
                        name: string;
                        in?: string | undefined;
                        description?: string | undefined;
                        required?: boolean | undefined;
                        deprecated?: boolean | undefined;
                        allowEmptyValue?: boolean | undefined;
                        style?: "form" | "simple" | undefined;
                        explode?: boolean | undefined;
                        allowReserved?: boolean | undefined;
                        schema?: {
                            type: string;
                            name?: string | undefined;
                            example?: any;
                            default?: any;
                            format?: string | undefined;
                            description?: string | undefined;
                            properties?: Record<string, import("@scalar/oas-utils").Schema> | undefined;
                        } | undefined;
                        example?: any;
                        examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
                    }[] | undefined;
                    responses?: Record<string, import("@scalar/oas-utils").ScalarResponse> | undefined;
                    security?: import("@scalar/openapi-parser").OpenAPIV3.SecurityRequirementObject[] | undefined;
                    requestBody?: {
                        description?: string | undefined;
                        required?: boolean | undefined;
                        content?: import("@scalar/oas-utils").RequestBodyMimeTypes | undefined;
                    } | undefined;
                    summary?: string | undefined;
                    tags?: string[] | undefined;
                    deprecated?: boolean | undefined;
                    'x-custom-examples'?: {
                        lang: string;
                        label: string;
                        source: string;
                    }[] | undefined;
                    'x-codeSamples'?: {
                        lang: string;
                        label: string;
                        source: string;
                    }[] | undefined;
                    'x-code-samples'?: {
                        lang: string;
                        label: string;
                        source: string;
                    }[] | undefined;
                } | undefined;
                pathParameters?: {
                    name: string;
                    in?: string | undefined;
                    description?: string | undefined;
                    required?: boolean | undefined;
                    deprecated?: boolean | undefined;
                    allowEmptyValue?: boolean | undefined;
                    style?: "form" | "simple" | undefined;
                    explode?: boolean | undefined;
                    allowReserved?: boolean | undefined;
                    schema?: {
                        type: string;
                        name?: string | undefined;
                        example?: any;
                        default?: any;
                        format?: string | undefined;
                        description?: string | undefined;
                        properties?: Record<string, import("@scalar/oas-utils").Schema> | undefined;
                    } | undefined;
                    example?: any;
                    examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
                }[] | undefined;
            }[];
            'x-displayName'?: string | undefined;
        }[] | undefined;
        info: {
            title?: string | undefined;
            description?: string | undefined;
            termsOfService?: string | undefined;
            contact?: {
                name?: string | undefined;
                url?: string | undefined;
                email?: string | undefined;
            } | undefined;
            license?: {
                name?: string | undefined;
                url?: string | undefined;
            } | undefined;
            version?: string | undefined;
        } | {
            title?: string | undefined;
            description?: string | undefined;
            termsOfService?: string | undefined;
            contact?: {
                name?: string | undefined;
                url?: string | undefined;
                email?: string | undefined;
            } | undefined;
            license?: {
                name?: string | undefined;
                url?: string | undefined;
            } | undefined;
            version?: string | undefined;
        } | {
            description?: string | undefined;
            title?: string | undefined;
            termsOfService?: string | undefined;
            contact?: {
                name?: string | undefined;
                url?: string | undefined;
                email?: string | undefined;
            } | undefined;
            version?: string | undefined;
            summary?: string | undefined;
            license?: {
                url?: string | undefined;
                name?: string | undefined;
                identifier?: string | undefined;
            } | undefined;
        } | undefined;
        host?: string | undefined;
        basePath?: string | undefined;
        schemes?: string[] | undefined;
        externalDocs?: {
            url: string;
            description?: string | undefined;
        } | undefined;
        servers?: {
            url: string;
            uid: string;
            description?: string | undefined;
            variables?: Record<string, {
                default: string;
                uid: string;
                description?: string | undefined;
                enum?: string[] | undefined;
            }> | null | undefined;
        }[] | undefined;
        components?: {
            schemas?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.SchemaObject;
            } | undefined;
            responses?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ResponseObject;
            } | undefined;
            parameters?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ParameterObject;
            } | undefined;
            examples?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ExampleObject;
            } | undefined;
            requestBodies?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.RequestBodyObject;
            } | undefined;
            headers?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.HeaderObject;
            } | undefined;
            securitySchemes?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.SecuritySchemeObject;
            } | undefined;
            links?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.LinkObject;
            } | undefined;
            callbacks?: {
                [key: string]: import("@scalar/openapi-parser").OpenAPIV3.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.CallbackObject;
            } | undefined;
        } | {
            schemas?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.SchemaObject> | undefined;
            responses?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.ResponseObject> | undefined;
            parameters?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ParameterObject> | undefined;
            examples?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.ExampleObject> | undefined;
            requestBodies?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.RequestBodyObject> | undefined;
            headers?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.HeaderObject> | undefined;
            securitySchemes?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3.SecuritySchemeObject> | undefined;
            links?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.LinkObject> | undefined;
            callbacks?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.CallbackObject> | undefined;
            pathItems?: Record<string, import("@scalar/openapi-parser").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-parser").OpenAPIV3_1.PathItemObject<{}>> | undefined;
        } | undefined;
        webhooks?: import("@scalar/oas-utils").Webhooks | undefined;
        definitions?: import("@scalar/openapi-parser").OpenAPIV2.DefinitionsObject | undefined;
        swagger?: string | undefined;
        openapi?: string | undefined;
        'x-tagGroups'?: {
            name: string;
            tags: string[];
        }[] | undefined;
        security?: import("@scalar/openapi-parser").OpenAPIV3.SecurityRequirementObject[] | undefined;
    };
    specErrors: import("vue").Ref<string | null>;
};
//# sourceMappingURL=useReactiveSpec.d.ts.map