import type { RocQueryResult as RocClientQueryResult } from 'rest-on-couch-client'; export type RocQueryResult = RocClientQueryResult<[string, string], T>; interface RocQueryState { loading: boolean; error: null | Error; result: null | Array>; } type RocQueryHookResult = RocQueryState; interface RocQueryHookOptions { mine?: boolean; } export declare function useRocQuery(viewName: string, options?: RocQueryHookOptions): RocQueryHookResult; export {}; //# sourceMappingURL=use_roc_query.d.ts.map