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_client6 from "@sanity/client";
import { QueryParams } from "@sanity/client";
import * as _sanity_client_stega1 from "@sanity/client/stega";
import * as _sanity_core_loader3 from "@sanity/core-loader";
import { CreateQueryStoreOptions } from "@sanity/core-loader";
import { CreateDataAttribute, CreateDataAttributeProps, createDataAttribute } from "@sanity/visual-editing-csm";
export * from "@sanity/core-loader";
declare namespace universal_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?: QueryParams, options?: Pick<_sanity_client6.ResponseQueryOptions, "perspective" | "cache" | "next" | "useCdn" | "stega" | "tag" | "headers">) => Promise<QueryResponseInitial<QueryResponseResult>>, setServerClient: (client: _sanity_client6.SanityClient | _sanity_client_stega1.SanityStegaClient) => void, useLiveMode: UseLiveModeHook, useQuery: {
    <QueryResponseResult = unknown, QueryResponseError = unknown>(query: string, params?: QueryParams, options?: UseQueryOptionsUndefinedInitial): _sanity_core_loader3.QueryStoreState<QueryResponseResult, QueryResponseError> & {
      encodeDataAttribute: EncodeDataAttributeFunction;
    };
    <QueryResponseResult = unknown, QueryResponseError = unknown>(query: string, params?: QueryParams, options?: UseQueryOptionsDefinedInitial<QueryResponseResult>): Omit<_sanity_core_loader3.QueryStoreState<QueryResponseResult, QueryResponseError>, "data"> & {
      data: QueryResponseResult;
    } & {
      encodeDataAttribute: EncodeDataAttributeFunction;
    };
  };
declare namespace index_d_exports {
  export { ContentSourceMap, CreateDataAttribute, CreateDataAttributeProps, EncodeDataAttributeCallback, NonUndefinedGuard, QueryResponseInitial, QueryStore, ResolveStudioUrl, StudioPathLike, StudioUrl, UseLiveModeHook, UseQueryHook, UseQueryOptions, UseQueryOptionsDefinedInitial, UseQueryOptionsUndefinedInitial, createDataAttribute, createQueryStore, loadQuery, setServerClient, useEncodeDataAttribute, useLiveMode, useQuery };
}
export { ContentSourceMap, type CreateDataAttribute, type CreateDataAttributeProps, EncodeDataAttributeCallback, type NonUndefinedGuard, type QueryResponseInitial, type QueryStore, ResolveStudioUrl, StudioPathLike, StudioUrl, type UseLiveModeHook, UseQueryHook, UseQueryOptions, type UseQueryOptionsDefinedInitial, type UseQueryOptionsUndefinedInitial, createDataAttribute, createQueryStore, loadQuery, setServerClient, useEncodeDataAttribute, useLiveMode, useQuery };
//# sourceMappingURL=index.d.cts.map