import type { ApiClientModal, ApiClientOptions, RoutePayload } from '@scalar/api-client/modal'; import './style.css'; export type ApiClientConfigurationReact = ApiClientOptions & ({ content?: never; url: string; } | { content: Record; url?: never; }); export type UseApiClientModalProps = { /** Configuration for the Api Client (url or inline content) */ configuration: ApiClientConfigurationReact; }; /** * Returns the singleton Api Client * * On first call the Vue app is lazily created and appended to document.body where it * lives for the lifetime of the page — it is never unmounted, so it survives client-side * navigation without losing state. * * Subsequent calls from any component share the same instance of the client but can use the same * or different documents */ export declare const useApiClient: ({ configuration, }: UseApiClientModalProps) => (Omit & { open: (payload: RoutePayload) => void; }) | undefined; //# sourceMappingURL=use-api-client.d.ts.map