import { Mounter } from '@shockpkg/hdi-mac'; import { Archive, Entry, IEntryInfo } from '../archive.ts'; export interface IEntryInfoHdi extends IEntryInfo { /** * @inheritdoc */ archive: ArchiveHdi; /** * @inheritdoc */ size: number; /** * @inheritdoc */ sizeComp?: null; /** * @inheritdoc */ mode: number; /** * @inheritdoc */ uid: number; /** * @inheritdoc */ gid: number; /** * @inheritdoc */ uname?: null; /** * @inheritdoc */ gname?: null; /** * @inheritdoc */ atime: Date; /** * @inheritdoc */ mtime: Date; } /** * EntryHdi object. */ export declare class EntryHdi extends Entry { /** * @inheritdoc */ readonly archive: ArchiveHdi; /** * @inheritdoc */ readonly size: number; /** * @inheritdoc */ readonly sizeComp: null; /** * @inheritdoc */ readonly mode: number; /** * @inheritdoc */ readonly uid: number; /** * @inheritdoc */ readonly gid: number; /** * @inheritdoc */ readonly uname: null; /** * @inheritdoc */ readonly gname: null; /** * @inheritdoc */ readonly atime: Date; /** * @inheritdoc */ readonly mtime: Date; /** * EntryHdi constructor. * * @param info Info object. */ constructor(info: Readonly); /** * Get the path of resource psuedo-file, raw. * * @returns Path string. */ get rsrcPathRaw(): string; /** * Get the path of resource psuedo-file, normalized. * * @returns Path string. */ get rsrcPath(): string; } /** * ArchiveHdi object. */ export declare class ArchiveHdi extends Archive { /** * @inheritdoc */ static readonly FILE_EXTENSIONS: readonly string[] | null; /** * @inheritdoc */ static readonly HAS_NAMED_VOLUMES: boolean; /** * @inheritdoc */ readonly Entry: typeof EntryHdi; /** * Mounter, Mac. */ mounterMac: Mounter; /** * Hide mounted disk image from the file explorers. */ nobrowse: boolean; /** * ArchiveHdi constructor. * * @param path File path. */ constructor(path: string); /** * @inheritdoc */ read(itter: (entry: EntryHdi) => Promise): Promise; /** * @inheritdoc */ protected _read(itter: (entry: EntryHdi) => Promise): Promise; }