export interface WatcherParams<T> {
    onMessage: (payload: T) => void;
    onError: (error: any) => void;
}
export declare type WatcherRefreshFunction = () => void;
export declare type WatcherStopFunction = () => void;
export interface WatcherResponse {
    refresh: WatcherRefreshFunction;
    stop: WatcherStopFunction;
}
