import type { TBLClassicListener } from './TBLClassicListener'; import type { ResizeCallback, RNNativeTBLEvents } from '@taboola/react-native-plugin-4x'; export declare class TBLRNClassicUnitEventHandler { private readonly unitId; private readonly tblRNClassicListener; private resizeCallback?; constructor(unitId: string, tblClassicListener: TBLClassicListener, setTBLClassicUnitControllerHeight: (height: number) => void); private shouldSendEventToUnit; setupNativeEvents(tblClassicListener: TBLClassicListener, setTBLClassicUnitControllerHeight: (height: number) => void): RNNativeTBLEvents; /** * Set the resize callback function, this function controller and resizing TBClassicUnit.tsx. * @param resizeCallback */ setResizeCallback(resizeCallback: ResizeCallback): void; /** * Removes all native event listeners to prevent memory leaks */ cleanListeners(): void; } //# sourceMappingURL=TBLRNClassicUnitEventHandler.d.ts.map