export type WidgetConfig = {
    url: string;
    threadId: string | null;
    responseIsAStream: boolean;
    user: Record<any, any>;
    widgetTitle: string;
    greetingMessage: string | null;
    disableErrorAlert: boolean;
    closeOnOutsideClick: boolean;
    openOnLoad: boolean;
    location_id: string | null;
};
declare function init(): void;
declare function open(e: Event): void;
declare function close(): void;
declare const buildShipChatWidget: {
    open: typeof open;
    close: typeof close;
    config: WidgetConfig;
    init: typeof init;
    setLocationId: (id: string) => void;
};
declare global {
    interface Window {
        buildShipChatWidget: typeof buildShipChatWidget;
    }
}
export default buildShipChatWidget;
