import { DifferentialHookOptions, QueryResult, ReadonlyQueryResult } from './watch-types.js'; import { InternalHookOptions } from './watch-utils.js'; /** * @internal This is not exported from the index.ts * * When an incremental query is used the return type is readonly. This is required * since the implementation requires a stable ref. * For legacy compatibility we allow mutating when a standard query is used. Mutations should * not affect the internal implementation in this case. */ export declare const useWatchedQuery: (options: InternalHookOptions & { options: DifferentialHookOptions; }) => QueryResult | ReadonlyQueryResult;