import { PositionDefinition, SizeDefinition, StyleDefinition, ViewBox } from './common'; import { DocumentElement } from './document-element'; export interface ImportReferenceDetail { importedSlideReference?: string; importedFileReference?: string; } export type DocumentWriteMode = 'transactional' | 'legacy'; export declare const SORT_MODE: { readonly ARRAY: "array"; readonly ELEMENT_INDEXING: "elementIndexing"; readonly MIGRATING: "migrating"; }; export type DocumentSortMode = (typeof SORT_MODE)[keyof typeof SORT_MODE]; export declare const DOCUMENT_SORT_MODES: readonly DocumentSortMode[]; export interface Document { id?: string; name?: string; elements?: Array; size?: SizeDefinition; position?: PositionDefinition; style?: StyleDefinition; model?: any; modelBindings?: any; background?: Array; importedFrom?: ImportReferenceDetail; startingViewBox?: ViewBox; startingLocation?: { position: PositionDefinition; zoom: number; }; clipContent?: boolean; ownedByReference?: string; writeMode?: DocumentWriteMode; lastSequenceNumber?: number; sortMode?: DocumentSortMode; }