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