UNPKG

next-sanity

Version:
19 lines 731 B
import { ClientPerspective, ContentSourceMap, InitializedClientConfig, QueryParams } from "@sanity/client"; /** * @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>; } declare function SanityLiveStreamLazyClientComponent(props: SanityLiveStreamProps): React.ReactNode; export { type SanityLiveStreamProps, SanityLiveStreamLazyClientComponent as default }; //# sourceMappingURL=index.d.ts.map