import type { MultipartNaming } from '@scalar/types/api-reference'; import type { ClientOptionGroup } from '@scalar/blocks/code-example'; import type { ClientPlugin } from '@scalar/oas-utils/helpers'; import type { WorkspaceStore } from '@scalar/workspace-store/client'; import type { SelectedSecurity } from '@scalar/workspace-store/entities/auth'; import type { AuthMeta, WorkspaceEventBus } from '@scalar/workspace-store/events'; import { type MergedSecuritySchemes, type SecuritySchemeObjectSecret } from '@scalar/workspace-store/request-example'; import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'; import type { XScalarCookie } from '@scalar/workspace-store/schemas/extensions/general/x-scalar-cookies'; import type { OpenApiDocument, OperationObject, ServerObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document'; import type { OAuth2Options } from '../scalar-auth-selector-block/components/OAuth2.vue.js'; import type { ClientLayout } from '../../types/layout.js'; export type RequestBlockProps = { /** Security scheme names visible in the authentication UI. */ allowedSecuritySchemes?: string[]; authMeta: AuthMeta; clientOptions: ClientOptionGroup[]; environment: XScalarEnvironment; eventBus: WorkspaceEventBus; exampleKey: string; workspaceCookies: XScalarCookie[]; documentCookies: XScalarCookie[]; /** Slug of the document the operation belongs to */ documentSlug: string; layout: ClientLayout; method: string; operation: OperationObject; /** Operation before downloaded examples are overlaid, for parameter edit targets. */ sourceOperation?: OperationObject; path: string; plugins: ClientPlugin[]; proxyUrl: string; securityRequirements: OpenApiDocument['security']; securitySchemes: MergedSecuritySchemes; /** Originating OpenAPI version, used for XML mapping rules. */ openapiVersion?: string; /** Document-level JSON Schema dialect used when generating array `contains` examples. */ jsonSchemaDialect?: string; multipartNaming?: MultipartNaming; requestBodyCompositionSelection?: Record; selectedClient: WorkspaceStore['workspace']['x-scalar-default-client']; selectedSecurity: SelectedSecurity; selectedSecuritySchemes: SecuritySchemeObjectSecret[]; server: ServerObject | null; defaultHeaders: Record; /** Initial view for structured request bodies, from the `x-scalar-default-request-body-view` document extension */ defaultRequestBodyView?: 'form' | 'raw'; /** Any config options required for the OAuth2 flow */ options?: OAuth2Options; }; declare const __VLS_export: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default; //# sourceMappingURL=RequestBlock.vue.d.ts.map