import type { Presence } from 'sharedb/lib/sharedb'; export interface IActionData { actionKey: string; payload?: Record; } export declare const usePresence: (channel: string | undefined) => Presence | undefined; export declare const useActionListener: (tableIdOrViewId: string | undefined, matches: T['actionKey'][], callback: (actionKey: T['actionKey'], payload?: any) => void) => void;