/** * Parser for verbose tar listing output (BSD tar and GNU tar formats). * * Verbose tar (`tar tvzf`) emits one line per archive entry. The path * appears after the timestamp field, which differs between implementations: * BSD tar (macOS): HH:MM path * GNU tar (Linux): HH:MM:SS path */ export interface TarVerboseListing { /** The stripped top-level directory entry (commit SHA prefix). */ firstDirEntry: string; /** Archive paths of files that pass the extension filter. */ includePaths: string[]; } /** * Parse a verbose tar listing into the top-level directory and filtered file paths. * * Skips: * - Symlink entries (`l` type) * - Directory entries (`d` type) * - Files with extensions not in ALLOWED_EXTENSIONS * * @param lines - Non-empty lines from `tar tvzf` output */ export declare function parseTarVerboseListing(lines: string[]): TarVerboseListing; //# sourceMappingURL=tar-parser.d.ts.map