import { SourceTypes, CookieConsentType } from './constants'; export interface UsePanelDataReturn { sourceType: SourceTypes; currentUrl: string; currentCode: string; htmlTitle: string; cookieConsent: CookieConsentType; isLoading: boolean; isInitialDataLoaded: boolean; setSourceType: (value: SourceTypes) => void; setCurrentUrl: (url: string) => void; setCurrentCode: (code: string) => void; setHtmlTitle: (title: string) => void; setCookieConsent: (consent: CookieConsentType) => void; } export declare const usePanelData: () => UsePanelDataReturn; export declare const useDataPersistence: (isInitialDataLoaded: boolean, sourceType: SourceTypes, currentUrl: string, htmlTitle: string, cookieConsent: CookieConsentType) => void; export declare const useEventHandlers: (setSourceType: (value: SourceTypes) => void, setCurrentUrl: (url: string) => void, setCurrentCode: (code: string) => void, setHtmlTitle: (title: string) => void, setCookieConsent: (consent: CookieConsentType) => void) => { handleSourceTypeChange: (value: SourceTypes) => void; handleUrlChange: (url: string) => void; handleHtmlCodeChange: (htmlCode: string) => Promise; handleTitleChange: (title: string) => void; handleCookieConsentChange: (newCookieConsent: CookieConsentType) => void; };