import { _ as __reExport, a as StudioUrl, c as QueryResponseInitial, d as UseQueryHook, f as UseQueryOptions, g as __exportAll, h as EncodeDataAttributeFunction, i as StudioPathLike, l as QueryStore, m as UseQueryOptionsUndefinedInitial, n as EncodeDataAttributeCallback, o as useEncodeDataAttribute, p as UseQueryOptionsDefinedInitial, r as ResolveStudioUrl, s as NonUndefinedGuard, t as ContentSourceMap, u as UseLiveModeHook } from "../_chunks-dts/useEncodeDataAttribute.cjs";
import * as _sanity_client8 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";
export * from "@sanity/core-loader";
declare namespace client_only_d_exports {
  export { NonUndefinedGuard, QueryResponseInitial, QueryStore, UseLiveModeHook, UseQueryHook, UseQueryOptions, UseQueryOptionsDefinedInitial, UseQueryOptionsUndefinedInitial, createQueryStore, loadQuery, setServerClient, useLiveMode, useQuery };
}
declare const createQueryStore: (options: CreateQueryStoreOptions) => QueryStore;
/**
 * Shortcut setup for the main SSR use-case.
 * @public
 */
declare const loadQuery: <QueryResponseResult>(query: string, params?: _sanity_client8.QueryParams, options?: Pick<_sanity_client8.ResponseQueryOptions, "perspective" | "cache" | "next" | "useCdn" | "stega" | "tag" | "headers">) => Promise<QueryResponseInitial<QueryResponseResult>>, setServerClient: (client: _sanity_client8.SanityClient | _sanity_client_stega2.SanityStegaClient) => void, useLiveMode: UseLiveModeHook, useQuery: {
    <QueryResponseResult = unknown, QueryResponseError = unknown>(query: string, params?: _sanity_client8.QueryParams, options?: UseQueryOptionsUndefinedInitial): _sanity_core_loader5.QueryStoreState<QueryResponseResult, QueryResponseError> & {
      encodeDataAttribute: EncodeDataAttributeFunction;
    };
    <QueryResponseResult = unknown, QueryResponseError = unknown>(query: string, params?: _sanity_client8.QueryParams, options?: UseQueryOptionsDefinedInitial<QueryResponseResult>): Omit<_sanity_core_loader5.QueryStoreState<QueryResponseResult, QueryResponseError>, "data"> & {
      data: QueryResponseResult;
    } & {
      encodeDataAttribute: EncodeDataAttributeFunction;
    };
  };
declare namespace index_d_exports {
  export { ContentSourceMap, EncodeDataAttributeCallback, NonUndefinedGuard, QueryResponseInitial, QueryStore, ResolveStudioUrl, StudioPathLike, StudioUrl, UseLiveModeHook, UseQueryHook, UseQueryOptions, UseQueryOptionsDefinedInitial, UseQueryOptionsUndefinedInitial, createQueryStore, loadQuery, setServerClient, useEncodeDataAttribute, useLiveMode, useQuery };
}
export { ContentSourceMap, EncodeDataAttributeCallback, type NonUndefinedGuard, type QueryResponseInitial, type QueryStore, ResolveStudioUrl, StudioPathLike, StudioUrl, type UseLiveModeHook, UseQueryHook, UseQueryOptions, type UseQueryOptionsDefinedInitial, type UseQueryOptionsUndefinedInitial, createQueryStore, loadQuery, setServerClient, useEncodeDataAttribute, useLiveMode, useQuery };
//# sourceMappingURL=index.d.cts.map