export type WidgetConfig = { url: string; threadId: string | null; responseIsAStream: boolean; user: Record; widgetTitle: string; greetingMessage: string | null; disableErrorAlert: boolean; closeOnOutsideClick: boolean; openOnLoad: boolean; gemeindeName: string; gemeindeId: string; gemeindeLogo: string; }; declare function init(): Promise; declare function open(e: Event): void; declare function close(): void; declare const buildShipChatWidget: { open: typeof open; close: typeof close; config: WidgetConfig; init: typeof init; }; declare global { interface Window { buildShipChatWidget: typeof buildShipChatWidget; } } export default buildShipChatWidget; //# sourceMappingURL=index.d.ts.map