import { SanityDocument } from '@sanity/types';
import { ApiError, StreamError, StreamResult } from './types';
export declare function isStreamError(result: StreamResult | undefined): result is StreamError;
export declare function getError(body: ApiError): string;
export declare function isRelevantDocument(doc: SanityDocument): boolean;
