import { type PropsWithChildren, type ReactElement } from "react";
import { type Destructor } from "@synnaxlabs/x";
import { type Trigger, type Callback } from './triggers';
type Listen = (callback: Callback) => Destructor;
export interface ContextValue {
    listen: Listen;
}
export declare const useContext: () => ContextValue;
export interface ProviderProps extends PropsWithChildren {
    preventDefaultOn?: Trigger[];
}
export declare const Provider: ({ children, preventDefaultOn, }: ProviderProps) => ReactElement;
export {};
