import { HCSchedulerWidget, OpenSchedulingOptions } from './HCSchedulerWidget'; export type { OpenSchedulingOptions }; export interface HCSchedulerOptions { organizationId: string; utm_source?: string; utm_medium?: string; utm_campaign?: string; utm_term?: string; utm_content?: string; referrer?: string; } declare global { interface Window { eliseAi?: { hc?: HCSchedulerAPI; }; } } export interface HCSchedulerAPI { openScheduling: (options?: OpenSchedulingOptions) => void; close: () => void; } /** * The interface to EliseAI Healthcare Scheduler. * * To add the scheduler widget to the screen, call its static method * `start()` with your organization ID. * * @example * HCScheduler.start({ * organizationId: "your-org-id" * }); * * // Then open the modal from anywhere: * eliseAi.hc.openScheduling(); */ export default class HCScheduler { static widget: (HCSchedulerWidget & HTMLElement) | null; static organizationId: string; static start(opts: HCSchedulerOptions): void; static openScheduling(options?: OpenSchedulingOptions): void; static close(): void; static remove(): void; } export { HCSchedulerWidget }; //# sourceMappingURL=index.d.ts.map