type FeedbackIdentityKind = "ANONYMOUS" | "HOSTED_LOGIN" | "MERCHANT_USER" | "UNKNOWN"; type FeedbackActor = { identityKind?: FeedbackIdentityKind | Lowercase; anonymousUserId?: string | null; loginExternalUserId?: string | null; merchantUserId?: string | null; contactEmail?: string | null; contactPhone?: string | null; displayName?: string | null; }; type FeedbackCategoryOption = { value: string; label: string; }; type FeedbackWidgetOptions = { appId: string; apiBaseUrl?: string; actor?: FeedbackActor; metadata?: Record; categories?: FeedbackCategoryOption[]; launcherText?: string; panelTitle?: string; panelSubtitle?: string; placeholder?: string; contactPlaceholder?: string; onThreadCreated?: (threadId: string) => void; onMessageSent?: (messageId: string) => void; onError?: (error: Error) => void; }; type FeedbackWidgetController = { open: () => void; close: () => void; destroy: () => void; }; declare function createFeedbackWidget(container: HTMLElement, options: FeedbackWidgetOptions): FeedbackWidgetController; declare function mountFeedbackWidget(container: HTMLElement, options: FeedbackWidgetOptions): FeedbackWidgetController; export { type FeedbackActor, type FeedbackCategoryOption, type FeedbackIdentityKind, type FeedbackWidgetController, type FeedbackWidgetOptions, createFeedbackWidget, mountFeedbackWidget };