declare const NOSTREAM = 4294967295; declare const TYPE_STORAGE = 1; declare const TYPE_STREAM = 2; /** OLE2 compound file (MS-CFB). */ export declare class CompoundFile { private readonly bytes; private readonly sectorSize; private readonly miniSectorSize; private readonly miniCutoff; private readonly fat; private readonly miniFat; private readonly entries; private miniStream; private constructor(); static open(bytes: Uint8Array): CompoundFile; /** Children of the root storage, in-order. */ readRootStorage(): { name: string; type: number; }[]; exists(path: string): boolean; readStream(name: string): Uint8Array; private lookup; private findChild; private walkSiblings; private readEntryBytes; private readMiniChain; } export declare const OLE_MAGIC_BYTES: number[]; export declare function hasOleMagic(bytes: Uint8Array): boolean; export { NOSTREAM, TYPE_STORAGE, TYPE_STREAM };