first commit
This commit is contained in:
Vendored
+37
@@ -0,0 +1,37 @@
|
||||
declare const _globalThis: {
|
||||
[key: string]: any;
|
||||
Zotero: _ZoteroTypes.Zotero;
|
||||
ztoolkit: ZToolkit;
|
||||
addon: typeof addon;
|
||||
};
|
||||
|
||||
declare type ZToolkit = ReturnType<
|
||||
typeof import("../src/utils/ztoolkit").createZToolkit
|
||||
>;
|
||||
|
||||
declare const ztoolkit: ZToolkit;
|
||||
|
||||
declare const rootURI: string;
|
||||
|
||||
declare const addon: import("../src/addon").default;
|
||||
|
||||
declare const __env__: "production" | "development";
|
||||
|
||||
declare const Zotero_Tabs: {
|
||||
selectedID: string;
|
||||
};
|
||||
|
||||
declare const PathUtils: {
|
||||
join: (...parts: string[]) => string;
|
||||
};
|
||||
|
||||
declare const IOUtils: {
|
||||
exists: (path: string) => Promise<boolean>;
|
||||
readUTF8: (path: string) => Promise<string>;
|
||||
writeUTF8: (path: string, data: string) => Promise<void>;
|
||||
remove: (path: string) => Promise<void>;
|
||||
makeDirectory: (
|
||||
path: string,
|
||||
options?: { createAncestors?: boolean; ignoreExisting?: boolean },
|
||||
) => Promise<void>;
|
||||
};
|
||||
Reference in New Issue
Block a user