/** * Utility class for creating Quake 2 PAK archives. */ export declare class PakWriter { private entries; /** * Adds a file to the archive. * @param path The file path (will be normalized to lowercase, forward slashes). * @param data The file content. */ addFile(path: string, data: Uint8Array): void; /** * Removes a file from the archive. * @param path The file path. * @returns True if the file existed and was removed. */ removeFile(path: string): boolean; /** * Serializes the current entries into a PAK archive buffer. */ build(): Uint8Array; /** * Static helper to build a PAK from a map of entries. */ static buildFromEntries(entries: Map): Uint8Array; } //# sourceMappingURL=pakWriter.d.ts.map