import type { docs_v1 } from '@googleapis/docs'; import type { Document } from '../entities/Document.js'; import type { StructuralElement } from '../entities/StructuralElement.js'; /** * Project one REST structural element: indices plus kind, paragraph text, and * for tables the dimensions and the cell tree (cell content recurses into * this same projector, so nested tables project too). An element of a kind * this server does not know keeps its indices and drops the rest (the * enum-or-drop policy applied to a discriminator), so edits can still be * targeted around it. */ export declare function projectStructuralElement(element: docs_v1.Schema$StructuralElement): StructuralElement; /** Project a REST document onto the text-with-indices Document shape, cleaning nulls. */ export declare function projectDocument(data: docs_v1.Schema$Document): Document; //# sourceMappingURL=document.d.ts.map