import { Query, StandardWatchedQueryOptions, WatchCompatibleQuery, WatchedQueryOptions, DifferentialWatchedQueryOptions } from '@powersync/common'; import { BasePowerSyncDatabase } from './BasePowerSyncDatabase.js'; import { DifferentialQueryProcessor } from './watched/DifferentialQueryProcessor.js'; import { OnChangeQueryProcessor } from './watched/OnChangeQueryProcessor.js'; /** * @internal */ export interface CustomQueryOptions { db: BasePowerSyncDatabase; query: WatchCompatibleQuery; } /** * @internal */ export declare class CustomQuery implements Query { protected options: CustomQueryOptions; constructor(options: CustomQueryOptions); protected resolveOptions(options: WatchedQueryOptions): WatchedQueryOptions; watch(watchOptions: StandardWatchedQueryOptions): OnChangeQueryProcessor; differentialWatch(differentialWatchOptions: DifferentialWatchedQueryOptions): DifferentialQueryProcessor; }