/// export declare const TAR_OBJECT_TYPE_FILE: "0"; export declare const TAR_OBJECT_TYPE_HARD_LINK: "1"; export declare const TAR_OBJECT_TYPE_SYM_LINK: "2"; export declare const TAR_OBJECT_TYPE_CHAR_SPECIAL: "3"; export declare const TAR_OBJECT_TYPE_BLOCK_SPECIAL: "4"; export declare const TAR_OBJECT_TYPE_DIRECTORY: "5"; export declare const TAR_OBJECT_TYPE_FIFO: "6"; export declare const TAR_OBJECT_TYPE_CONTIGUOUS: "7"; export declare const TAR_OBJECT_TYPE_PAX_GLOBAL: "g"; export declare const TAR_OBJECT_TYPE_PAX_NEXT: "x"; export declare const TAR_OBJECT_TYPE_GNU_NEXT_LINK_NAME: "K"; export declare const TAR_OBJECT_TYPE_GNU_NEXT_NAME: "L"; export type TarObjectHeader = { name: string; mode: Uint8Array; userId: number; groupId: number; size: number; modifiedTime: number; checksum: Uint8Array; type: string; linkName: string; magicBytes: string; version: Uint8Array; userName: string; groupName: string; deviceMajorNumber: Uint8Array; deviceMinorNumber: Uint8Array; prefix: string; attrs: Record; }; export default class TarObject { readonly header: TarObjectHeader; readonly body?: ReadableStream; constructor(header: TarObjectHeader, body?: ReadableStream); text(): Promise; discard(): Promise; }