import { SanityDocument, SchemaType } from '@sanity/types'; import { Observable } from 'rxjs'; import { PreviewValue } from '../../types'; import { PaneItemPreviewState } from './types'; export declare const isLiveEditEnabled: (schemaType: any) => boolean; export declare const getMissingDocumentFallback: (item: SanityDocument) => PreviewValue; export declare const getValueWithFallback: ({ value, draft, published, }: { value: SanityDocument; draft?: SanityDocument | null | undefined; published?: SanityDocument | null | undefined; }) => PreviewValue | SanityDocument; export declare function getPreviewStateObservable(schemaType: SchemaType, documentId: string, title: unknown): Observable; //# sourceMappingURL=helpers.d.ts.map