UNPKG

@auler-hq/nav-agent-dev

Version:

Developer utility for web application inspection and navigation

33 lines (31 loc) 1 kB
import { AulerConfig } from './loaderTypes'; declare global { interface Window { Auler: typeof AulerLoader; aulerSettings?: AulerConfig; } } /** * Main Auler function - Intercom-style API * This gets called by users to initialize or call methods */ declare function AulerLoader(configOrMethod: AulerConfig | string, ...args: any[]): void; /** * Show the Auler widget - Intercom-style convenience method */ declare function show(): void; /** * Hide the Auler widget - Intercom-style convenience method */ declare function hide(): void; /** * Destroy the Auler widget - Intercom-style convenience method */ declare function destroy(): void; /** * Check if the Auler widget is visible - Intercom-style convenience method */ declare function isVisible(): boolean; export { AulerLoader as Auler, show, hide, destroy, isVisible }; export { AulerTheme, AulerPosition, AulerCustomStyles, type AulerConfig, type AulerInstance } from './loaderTypes'; export default AulerLoader;