UNPKG

next-sanity

Version:
15 lines (14 loc) 688 B
import { isCorsOriginError } from "./isCorsOriginError.js"; import { DefineSanityLiveOptions, DefinedSanityFetchType, DefinedSanityLiveProps, DefinedSanityLiveStreamType } from "./defineLive.js"; //#region src/live.server-only.d.ts /** * @public */ declare function defineLive(_config: DefineSanityLiveOptions): { sanityFetch: DefinedSanityFetchType; SanityLive: React.ComponentType<DefinedSanityLiveProps>; SanityLiveStream: DefinedSanityLiveStreamType; }; //#endregion export { type DefineSanityLiveOptions, type DefinedSanityFetchType, type DefinedSanityLiveProps, type DefinedSanityLiveStreamType, defineLive, isCorsOriginError }; //# sourceMappingURL=live.server-only.d.ts.map