import { WS_ACTIONS } from '@codella-software/utils/live-updates'; export interface UseUpdateListenerOptions { enabled?: boolean; } /** * Hook to listen for and handle live updates with callback * @param action - The WS_ACTIONS enum value to listen for * @param onUpdate - Callback when update is received * @param enabled - Whether to subscribe (defaults to true) */ export declare const useLiveUpdateListener: (action: WS_ACTIONS, onUpdate: (data: T) => void, { enabled }?: UseUpdateListenerOptions) => { subscribe: () => () => void; }; //# sourceMappingURL=useLiveUpdateListener.d.ts.map