mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 19:11:36 +08:00
12 lines
398 B
TypeScript
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>;
|
|
}
|
|
} |