/** * ruRE Phase 2 — container-level static inspection of ELF / PE / Mach-O * (ADR-0003). Reads integers and C-strings from a Buffer at bounds-checked * offsets. Never loads, maps, or executes the target. */ export declare const MAX_BINARY_BYTES: number; export interface SectionInfo { name: string; offset: number; size: number; } export interface BinaryInfo { format: 'elf' | 'pe' | 'macho' | 'macho-fat' | 'unknown'; arch: string; bits: 32 | 64 | null; endianness: 'little' | 'big'; kind: string; entryPoint: number | null; sections: SectionInfo[]; libraries: string[]; imports: string[]; exports: string[]; archs?: string[]; warnings: string[]; truncated: boolean; } /** Detects the container format from magic bytes and parses it. Never throws on hostile input. */ export declare function parseBinary(b: Buffer): BinaryInfo; export interface ExtractedString { value: string; offset: number; } /** Printable-ASCII runs, capped. Deterministic, bounded by file size cap. */ export declare function extractStrings(b: Buffer, minLen?: number, maxCount?: number): { strings: ExtractedString[]; truncated: boolean; }; //# sourceMappingURL=binary-parse.d.ts.map