@scalar/api-client
Version:
the open source API testing client
37 lines • 1.47 kB
TypeScript
import { type WorkspaceGroup } from '@scalar/components';
type __VLS_Props = {
/**
* The currently active workspace.
* This represents the workspace that the user is currently working in.
*/
activeWorkspace: {
id: string;
};
/**
* The list of all available workspaces.
* Used to render options for workspace switching and selection.
*/
workspaces: WorkspaceGroup[];
};
type __VLS_Slots = {
/** Slot for customizing the actions section of the sidebar menu. */
sidebarMenuActions?(): unknown;
};
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"create:workspace": () => any;
"select:workspace": (id?: string | undefined) => any;
"navigate:to:settings": () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onCreate:workspace"?: (() => any) | undefined;
"onSelect:workspace"?: ((id?: string | undefined) => any) | undefined;
"onNavigate:to:settings"?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=SidebarMenu.vue.d.ts.map