export type UseEventParams = {
    event: string;
    channel?: string;
    active?: boolean;
};
export declare function useLocalEvent({ event, channel }: UseEventParams, fn: (...args: any[]) => void, deps?: any[]): void;
export declare function useRemoteEvent({ event, channel, active }: UseEventParams, fn: (...args: any[]) => void, deps?: any[]): any;
