/// export declare const TAR_PAX_KEY_NAME: "path"; export declare const TAR_PAX_KEY_LINK_NAME: "linkpath"; declare enum TarPaxParserState { ParsingLength = 0, ParsingKey = 1, ParsingValue = 2 } export type TarPaxExtendedHeader = { key: string; value: string; }; /** * Parses the pax "extended header" key-values. * * @link https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_01 */ export default class TarPaxParser { protected state: TarPaxParserState; protected lengthStr: string; protected length: number; protected key: string; protected value: string; protected numParsed: number; parse(): TransformStream; protected parseLength(char: string): boolean; protected parseKey(char: string): boolean; protected parseValue(char: string): boolean; } export {};