import { a as UseQueryHook, c as UseQueryOptionsUndefinedInitial, d as __reExport, i as UseLiveModeHook, l as EncodeDataAttributeFunction, n as QueryResponseInitial, o as UseQueryOptions, r as QueryStore, s as UseQueryOptionsDefinedInitial, t as NonUndefinedGuard, u as __exportAll } from "./types.js"; import * as _sanity_client8 from "@sanity/client"; import { QueryParams } from "@sanity/client"; import * as _sanity_client_stega2 from "@sanity/client/stega"; import * as _sanity_core_loader5 from "@sanity/core-loader"; import { CreateQueryStoreOptions } from "@sanity/core-loader"; declare namespace universal_d_exports { export { NonUndefinedGuard, QueryResponseInitial, QueryStore, UseLiveModeHook, UseQueryHook, UseQueryOptions, UseQueryOptionsDefinedInitial, UseQueryOptionsUndefinedInitial, createQueryStore$1 as createQueryStore, loadQuery, setServerClient, useLiveMode, useQuery }; } declare const createQueryStore$1: (options: CreateQueryStoreOptions) => QueryStore; /** * Shortcut setup for the main SSR use-case. * @public */ declare const loadQuery: (query: string, params?: QueryParams, options?: Pick<_sanity_client8.ResponseQueryOptions, "perspective" | "cache" | "next" | "useCdn" | "stega" | "tag" | "headers">) => Promise>, setServerClient: (client: _sanity_client8.SanityClient | _sanity_client_stega2.SanityStegaClient) => void, useLiveMode: UseLiveModeHook, useQuery: { (query: string, params?: QueryParams, options?: UseQueryOptionsUndefinedInitial): _sanity_core_loader5.QueryStoreState & { encodeDataAttribute: EncodeDataAttributeFunction; }; (query: string, params?: QueryParams, options?: UseQueryOptionsDefinedInitial): Omit<_sanity_core_loader5.QueryStoreState, "data"> & { data: QueryResponseResult; } & { encodeDataAttribute: EncodeDataAttributeFunction; }; }; export { useLiveMode as a, universal_d_exports as i, loadQuery as n, useQuery as o, setServerClient as r, createQueryStore$1 as t }; //# sourceMappingURL=universal.d.ts.map