@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
18 lines • 929 B
TypeScript
import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
export type SelectorProps = {
/** The selected server URL */
xSelectedServer?: string;
/** Available servers */
servers: ServerObject[];
};
/**
* ServerSelector
*
* Core component for rendering a server selector block.
* Handles server selection and emits a 'scalar-update-selected-server' event when the selected server changes.
*
* @event scalar-update-selected-server - Emitted when the selected server changes
*/
declare const _default: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=ServerSelector.vue.d.ts.map