export type RemoteApp = 'DashboardApp' | 'VizItemApp' | 'IQApp'; export declare function loadLibrary(appServer: string, componentName?: RemoteApp): Promise; /** * Eagerly starts loading the Dashboard remote module without blocking. * * Call this as early as possible in your application — ideally at the module * top level before any Luzmo components are rendered — so the network fetch * overlaps with the host app's own JS execution rather than being serialized * after it. Pass a custom `appServer` if you are not using the default * `https://app.luzmo.com`. * * Safe to call multiple times for the same `appServer`; subsequent calls are no-ops. * * @example * // index.tsx — module top level, before any component trees render * import { preloadDashboard } from '@luzmo/react-embed'; * preloadDashboard(); // default appServer * preloadDashboard('https://app.eu.luzmo.com'); // custom appServer */ export declare function preloadDashboard(appServer?: string): void; /** * Eagerly starts loading the VizItem remote module without blocking. * * Call this as early as possible in your application — ideally at the module * top level before any Luzmo components are rendered — so the network fetch * overlaps with the host app's own JS execution rather than being serialized * after it. Pass a custom `appServer` if you are not using the default * `https://app.luzmo.com`. * * Safe to call multiple times for the same `appServer`; subsequent calls are no-ops. * * @example * // index.tsx — module top level, before any component trees render * import { preloadVizItem } from '@luzmo/react-embed'; * preloadVizItem(); // default appServer * preloadVizItem('https://app.eu.luzmo.com'); // custom appServer */ export declare function preloadVizItem(appServer?: string): void; /** * Eagerly starts loading the IQ remote module without blocking. * * Call this as early as possible in your application — ideally at the module * top level before any Luzmo components are rendered — so the network fetch * overlaps with the host app's own JS execution rather than being serialized * after it. Pass a custom `appServer` if you are not using the default * `https://app.luzmo.com`. * * Safe to call multiple times for the same `appServer`; subsequent calls are no-ops. * * @example * // index.tsx — module top level, before any component trees render * import { preloadIQ } from '@luzmo/react-embed'; * preloadIQ(); // default appServer * preloadIQ('https://app.eu.luzmo.com'); // custom appServer */ export declare function preloadIQ(appServer?: string): void;