import { MaybeRef } from '../types/utils';
import { Ref } from 'vue-demi';
/**
 *
 * @param monitor The monitor to collect state from
 * @param collect The collecting function
 * @param onUpdate A method to invoke when updates occur
 */
export declare function useCollector<T, S>(monitor: MaybeRef<T>, collect: MaybeRef<(monitor: T) => S>, onUpdate?: () => void): [Ref<S>, () => void];
