import { CooperAPI } from "../api"; export declare const hookFactory: (query: T) => () => CooperAPI[T];