@scalar/api-client
Version:
the open source API testing client
15 lines • 776 B
TypeScript
import type { WorkspaceStore } from '@scalar/workspace-store/client';
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
import type { WorkspaceDocument } from '@scalar/workspace-store/schemas/workspace';
import { type ComputedRef, type Ref } from 'vue';
/**
* Top level state mutation handling for the workspace store in the client
*/
export declare const useWorkspaceClientEvents: ({ eventBus, document, workspaceStore, navigateTo, isSidebarOpen, }: {
eventBus: WorkspaceEventBus;
document: ComputedRef<WorkspaceDocument | null>;
workspaceStore: Ref<WorkspaceStore | null>;
navigateTo: (id: string) => Promise<unknown> | undefined;
isSidebarOpen: Ref<boolean>;
}) => void;
//# sourceMappingURL=use-workspace-client-events.d.ts.map