import { SQLWatchOptions } from '@powersync/common';
/**
* @deprecated use {@link useQuery} instead.
*
* A hook to access the results of a watched query.
* @example
* export const Component = () => {
* const lists = usePowerSyncWatchedQuery('SELECT * from lists');
*
* return
* {lists.map((l) => (
* {JSON.stringify(l)}
* ))}
*
* }
*/
export declare const usePowerSyncWatchedQuery: (sqlStatement: string, parameters?: any[], options?: Omit) => T[];