/** * Set of properties exposed under `docProps/core.xml`. All fields are optional; * the workbook only emits those that are set. Timestamps are stored as ISO-8601 * strings (the W3CDTF subset) — no Date conversion happens at this layer; * phase-3 saveWorkbook is responsible for stamping `modified` to `now()` on * each save. */ export interface CoreProperties { category?: string; contentStatus?: string; /** ISO-8601 W3CDTF; auto-stamped on save in phase 3. */ created?: string; creator?: string; description?: string; identifier?: string; keywords?: string; language?: string; lastModifiedBy?: string; /** ISO-8601 W3CDTF. */ lastPrinted?: string; /** ISO-8601 W3CDTF; auto-stamped on save in phase 3. */ modified?: string; revision?: string; subject?: string; title?: string; version?: string; } export declare function makeCoreProperties(): CoreProperties; export declare function corePropsToBytes(p: CoreProperties): Uint8Array; export declare function corePropsFromBytes(bytes: Uint8Array | string): CoreProperties; import type { Workbook } from '../workbook/workbook'; /** Set the document author (Excel "File → Properties → Author"). */ export declare const setWorkbookCreator: (wb: Workbook, creator: string) => void; /** Set the document title. */ export declare const setWorkbookTitle: (wb: Workbook, title: string) => void; /** Set the document subject. */ export declare const setWorkbookSubject: (wb: Workbook, subject: string) => void; /** Set the document description / abstract. */ export declare const setWorkbookDescription: (wb: Workbook, description: string) => void; /** Set comma- or semicolon-separated keywords. */ export declare const setWorkbookKeywords: (wb: Workbook, keywords: string) => void; /** Set the "last modified by" name (defaults to creator if absent). */ export declare const setWorkbookLastModifiedBy: (wb: Workbook, name: string) => void; /** Set the document category (e.g. "Reports", "Drafts"). */ export declare const setWorkbookCategory: (wb: Workbook, category: string) => void;