Davide Tantillo 93c56d08d0 c3 backup
2025-11-03 15:16:29 +01:00

12 lines
398 B
TypeScript

declare namespace SDK {
class IZipFile {
PathExists(path: string): boolean;
GetFileList(): string[];
GetFirstEntryWithExtension(ext: string): SDK.IZipFileEntry | null;
GetEntry(path: string): SDK.IZipFileEntry | null;
ReadText(entry: SDK.IZipFileEntry): Promise<string>;
ReadJson(entry: SDK.IZipFileEntry): Promise<JSONValue>;
ReadBlob(entry: SDK.IZipFileEntry): Promise<Blob>;
}
}