@scalar/api-client
Version:
the open source API testing client
49 lines • 2.01 kB
TypeScript
import { type ModalState } from '@scalar/components';
import type { ClientPlugin } from '@scalar/oas-utils/helpers';
import { type Theme } from '@scalar/themes';
import type { CommandPaletteState } from '../../../v2/features/command-palette/hooks/use-command-palette-state.js';
import type { ClientLayout } from '../../../v2/types/layout';
import { type AppState } from './app-state.js';
/**
* Main entry point for the API client for electron and web.
*
* This component handles all events and store business logic for the application.
*/
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
layout: Exclude<ClientLayout, "modal">;
plugins?: ClientPlugin[];
customThemes?: Theme[];
fallbackThemeSlug?: string;
getAppState: () => AppState;
getCommandPaletteState: () => CommandPaletteState;
}, {
openCreateWorkspace: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
layout: Exclude<ClientLayout, "modal">;
plugins?: ClientPlugin[];
customThemes?: Theme[];
fallbackThemeSlug?: string;
getAppState: () => AppState;
getCommandPaletteState: () => CommandPaletteState;
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
/**
* Slot for customizing the actions section of the sidebar menu.
* This slot is used to render custom actions or components within the actions section.
*/
'sidebar-menu-actions': () => unknown;
/**
* Slot for customizing the create workspace modal.
* This slot is used to render custom actions or components within the create workspace modal.
*/
'create-workspace'?: (payload: {
state: ModalState;
}) => unknown;
}>;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=App.vue.d.ts.map