UNPKG

@scalar/api-client

Version:

the open source API testing client

34 lines 1.31 kB
import type { WorkspaceStore } from '@scalar/workspace-store/client'; /** * Command Palette Import Component * * Provides a form for importing API specifications from various sources: * - OpenAPI/Swagger documents (URL, file, or pasted JSON/YAML) * - Postman collections (URL, file, or pasted JSON) * - cURL commands (automatically redirects to cURL import command) * * Supports watch mode for URL imports to automatically update when content changes. * * @example * <CommandPaletteImport * :workspaceStore="workspaceStore" * @close="handleClose" * @back="handleBack" * @open-command="handleOpenCommand" * /> */ declare const _default: import("vue").DefineComponent<{ /** The workspace store for adding documents */ workspaceStore: WorkspaceStore; }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { [x: string]: any; } & { [x: string]: any; }, string, import("vue").PublicProps, Readonly<{ /** The workspace store for adding documents */ workspaceStore: WorkspaceStore; }> & Readonly<{ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; //# sourceMappingURL=CommandPaletteImport.vue.d.ts.map