import type { WorkDocumentContent } from './work-types'; export declare const WORK_DOCUMENT_SOURCE_SCHEMA: "a3s.office.document.source"; export declare const WORK_DOCUMENT_SOURCE_VERSION: 1; export declare const WORK_DOCUMENT_SOURCE_MEDIA_TYPE: "text/markdown; charset=utf-8"; export interface WorkDocumentSource { schema: typeof WORK_DOCUMENT_SOURCE_SCHEMA; version: typeof WORK_DOCUMENT_SOURCE_VERSION; mediaType: typeof WORK_DOCUMENT_SOURCE_MEDIA_TYPE; content: string; } /** * Project one structured Office document into an agent-readable source value. * * The source is deliberately a subordinate projection, not a replacement for * the lossless document snapshot. Version 1 supports one structured section so * it cannot silently flatten distinct section layouts. */ export declare function projectWorkDocumentSource(content: WorkDocumentContent): WorkDocumentSource; /** * Apply an agent-readable source revision to the document body while retaining * every Office-owned field and the exact section identity/layout attributes. */ export declare function applyWorkDocumentSource(content: WorkDocumentContent, source: WorkDocumentSource): WorkDocumentContent;