///
import { DocumentActionDescription, DocumentBadgeDescription } from '@sanity/base';
import { Marker, Path, SanityDocument } from '@sanity/types';
import { PaneView, PaneMenuItem, PaneMenuItemGroup } from '../../types';
import { Controller as HistoryController } from './documentHistory/history/Controller';
import { Timeline } from './documentHistory/history/Timeline';
import { TimelineMode } from './types';
declare type DocumentSchema = any;
export interface DocumentPaneContextValue {
activeViewId: string | null;
actions: DocumentActionDescription[] | null;
badges: DocumentBadgeDescription[] | null;
changesOpen: boolean;
compareValue: Partial | null;
connectionState: 'connecting' | 'reconnecting' | 'connected';
displayed: Partial | null;
historyValue: Partial | null;
documentId: string;
documentIdRaw: string;
documentSchema: DocumentSchema | null;
documentType: string;
focusPath: Path;
handleChange: (patches: any[]) => void;
handleFocus: (nextPath: Path) => void;
handleHistoryClose: () => void;
handleHistoryOpen: () => void;
handleInspectClose: () => void;
handleKeyUp: (event: React.KeyboardEvent) => void;
handleMenuAction: (item: PaneMenuItem) => void;
handlePaneClose: () => void;
handlePaneSplit?: () => void;
historyController: HistoryController;
index: number;
initialValue: Partial;
inspectOpen: boolean;
markers: Marker[];
menuItems: PaneMenuItem[];
menuItemGroups: PaneMenuItemGroup[];
paneKey: string;
previewUrl: string | null;
ready: boolean;
setTimelineMode: (mode: TimelineMode) => void;
setTimelineRange(since: string | null, rev: string | null): void;
timeline: Timeline;
timelineMode: TimelineMode;
title: string | null;
totalReferenceCount: number | undefined;
value: Partial;
views: PaneView[];
}
export declare const DocumentPaneContext: import("react").Context;
export {};
//# sourceMappingURL=DocumentPaneContext.d.ts.map