import { WatchedQuery } from '@powersync/common';
/**
* A hook to access and subscribe to the results of an existing {@link WatchedQuery} instance.
* @example
* export const ContentComponent = () => {
* const { data: lists } = useWatchedQuerySubscription(listsQuery);
*
* return
* {lists.map((l) => (
* {JSON.stringify(l)}
* ))}
* ;
* }
*
*/
export declare const useWatchedQuerySubscription: = WatchedQuery>(query: Query) => Query["state"];
/**
* @internal
*/
export declare const useNullableWatchedQuerySubscription: = WatchedQuery>(query: Query | null) => Query["state"] | undefined;