import { type RefObject } from "react"; import { type LinkHandlerEvent } from "./ConfigContext.js"; import { type IGenAIAssistantSlots } from "./customized/types.js"; import { type GenAiStoreProps } from "./GenAiStore.js"; export type GenAIChatDialogProps = Omit & { isOpen: boolean; disabled?: boolean; className?: string; dialogPosition?: "left" | "right"; locale?: string; canManage?: boolean; canAnalyze?: boolean; canFullControl?: boolean; onOpen: () => void; onClose: () => void; returnFocusTo?: RefObject | string; onLinkClick?: (linkClickEvent: LinkHandlerEvent) => string | undefined; /** * Customizations for the Gen AI assistant. */ slots?: IGenAIAssistantSlots; /** * Set to false while the host renders its own overlay above the chat, so that Escape aimed at * that overlay does not also close the chat (see GenAIChatOverlayExternalProps.closeOnEscape). */ closeOnEscape?: boolean; }; export declare function GenAIChatDialog({ backend, workspace, locale, disabled, isOpen, onOpen, onClose, settings, className, dialogPosition, allowNativeLinks, returnFocusTo, objectTypes, includeTags, excludeTags, canManage, canAnalyze, canFullControl, eventHandlers, catalogItems, colorPalette, onLinkClick, onDispatcher, mode, displayMode, slots, closeOnEscape, }: GenAIChatDialogProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=GenAIChatDialog.d.ts.map