import type { WorkspaceEventBus } from '@scalar/workspace-store/events'; import { type ShallowRef } from 'vue'; import type { ApiClientModal } from './helpers/create-api-client-modal.js'; /** Load and mount the client only when requested, retaining the latest open intent during loading. */ export declare const useLazyApiClient: ({ eventBus, load, status, }: { eventBus: WorkspaceEventBus; load: () => Promise<() => ApiClientModal | null>; /** Optional visitor-facing state for the initial download. */ status?: ShallowRef<"idle" | "loading" | "error">; }) => ShallowRef; //# sourceMappingURL=use-lazy-api-client.d.ts.map