export declare const POR_LINE_LENGTH = 80; export declare const POR_ASCII_LOOKUP: number[]; export declare const POR_UNICODE_LOOKUP: number[]; /** Combined lookup used for reading: prefer the ASCII value, else Unicode. */ export declare const POR_COMBINED_LOOKUP: number[]; /** Decode POR file bytes into a JS string via a byte->codepoint table. */ export declare function porDecode(bytes: Uint8Array, len: number, byte2unicode: number[]): string | null; export interface PorDoubleResult { value: number; consumed: number; } /** * Parse a base-30 encoded double (port of readstat_por_parse_double). * Returns null on parse failure. */ export declare function porParseDouble(s: string): PorDoubleResult | null;