import { WidgetConfig, FeedbackData } from './types'; declare class FeedbackWidgetSDK { private manager; private containers; private roots; private widgetVisibility; constructor(); init(config: WidgetConfig | WidgetConfig[]): void; create(id: string, config?: Partial): void; show(id: string): boolean; hide(id: string): void; update(id: string, updates: Partial): void; destroy(id: string): void; getConfig(id: string): WidgetConfig | undefined; exportConfig(id: string): string | null; importConfig(configJson: string): { success: boolean; error?: string; id?: string; }; getStats(): any; private renderWidget; private rerenderWidget; private onFeedbackSubmit; on(event: 'feedbackSubmitted', callback: (data: { widgetId: string; data: FeedbackData; }) => void): void; off(event: 'feedbackSubmitted', callback?: Function): void; } declare const globalExport: { feedbackWidget: FeedbackWidgetSDK; create: (id: string, config?: Partial) => void; show: (id: string) => boolean; hide: (id: string) => void; init: (config: WidgetConfig | WidgetConfig[]) => void; destroy: (id: string) => void; on: (event: "feedbackSubmitted", callback: (data: { widgetId: string; data: FeedbackData; }) => void) => void; off: (event: "feedbackSubmitted", callback?: Function) => void; getStats: () => any; SDK: typeof FeedbackWidgetSDK; setupGlobals(): boolean; }; export default globalExport;