/** What a ZIP-based document container holds. */ export type ZipDocKind = 'docx' | 'pptx' | 'xlsx' | 'odt' | 'ods' | 'odp' | 'odg' | 'epub' | 'pages' | 'numbers' | 'keynote' | 'vsdx' | 'hwpx'; /** What an OLE compound file holds. */ export type OleDocKind = 'doc' | 'ppt' | 'xls' | 'vsd' | 'hwp' | 'one'; /** * Classify a ZIP-based document container by its content. Returns undefined * for non-ZIP bytes and unrecognized packages. Never throws. */ export declare function detectZipDoc(bytes: Uint8Array): ZipDocKind | undefined; /** * Classify an OLE compound file by its mandated content stream. Returns * undefined for non-OLE bytes and for encrypted OOXML packages (the inner * format is unknowable). Never throws. */ export declare function detectOleDoc(bytes: Uint8Array): OleDocKind | undefined;