import { ClientPerspective, ContentSourceMap, InitializedClientConfig, QueryParams } from "@sanity/client";

//#region src/live/client-components/live-stream/SanityLiveStream.d.ts

/**
* @public
*/
interface SanityLiveStreamProps extends Pick<InitializedClientConfig, "projectId" | "dataset"> {
  query: string;
  params?: QueryParams;
  perspective?: Exclude<ClientPerspective, "raw">;
  stega?: boolean;
  initial: Promise<React.ReactNode>;
  children: (result: {
    data: unknown;
    sourceMap: ContentSourceMap | null;
    tags: string[];
  }) => Promise<React.ReactNode>;
}
//#endregion
//#region src/live/client-components/live-stream/SanityLiveStreamLazy.d.ts
declare function SanityLiveStreamLazyClientComponent(props: SanityLiveStreamProps): React.ReactNode;
//#endregion
export { type SanityLiveStreamProps, SanityLiveStreamLazyClientComponent as default };
//# sourceMappingURL=index.d.ts.map