import type { ApiClientConfiguration } from '@scalar/types/api-reference'; import type { WorkspaceEventBus } from '@scalar/workspace-store/events'; import { type OAuthFlowsObjectSecret, type SecuritySchemeObjectSecret } from '@scalar/workspace-store/request-example'; import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments'; import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; /** Any config options required for the OAuth2 flow */ export type OAuth2Options = Pick; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent<{ /** Current environment configuration */ environment: XScalarEnvironment; /** OAuth flows */ flows: OAuthFlowsObjectSecret; /** Type of the OAuth flow */ type: keyof OAuthFlowsObjectSecret; /** Selected scopes */ selectedScopes: string[]; /** Security scheme */ scheme: SecuritySchemeObjectSecret; /** Current server configuration */ server: ServerObject | null; /** Proxy URL */ proxyUrl: string; /** Name of the security scheme */ name: string; /** Event bus for authentication updates */ eventBus: WorkspaceEventBus; /** Any config options required for the OAuth2 flow */ options?: OAuth2Options; }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { "update:selectedScopes": (payload: Pick<{ id: string[]; name: string; scopes: string[]; newScopePayload?: { name: string; description: string; flowType: keyof import("@scalar/workspace-store/schemas/v3.1/strict/oauthflows").OAuthFlowsObject; }; meta: import("@scalar/workspace-store/events").AuthMeta; }, "scopes" | "newScopePayload">) => any; }, string, import("vue").PublicProps, Readonly<{ /** Current environment configuration */ environment: XScalarEnvironment; /** OAuth flows */ flows: OAuthFlowsObjectSecret; /** Type of the OAuth flow */ type: keyof OAuthFlowsObjectSecret; /** Selected scopes */ selectedScopes: string[]; /** Security scheme */ scheme: SecuritySchemeObjectSecret; /** Current server configuration */ server: ServerObject | null; /** Proxy URL */ proxyUrl: string; /** Name of the security scheme */ name: string; /** Event bus for authentication updates */ eventBus: WorkspaceEventBus; /** Any config options required for the OAuth2 flow */ options?: OAuth2Options; }> & Readonly<{ "onUpdate:selectedScopes"?: ((payload: Pick<{ id: string[]; name: string; scopes: string[]; newScopePayload?: { name: string; description: string; flowType: keyof import("@scalar/workspace-store/schemas/v3.1/strict/oauthflows").OAuthFlowsObject; }; meta: import("@scalar/workspace-store/events").AuthMeta; }, "scopes" | "newScopePayload">) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; //# sourceMappingURL=OAuth2.vue.d.ts.map