diff options
Diffstat (limited to 'client/node_modules/@electron/remote/dist/src/main/objects-registry.d.ts')
-rw-r--r-- | client/node_modules/@electron/remote/dist/src/main/objects-registry.d.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/client/node_modules/@electron/remote/dist/src/main/objects-registry.d.ts b/client/node_modules/@electron/remote/dist/src/main/objects-registry.d.ts new file mode 100644 index 0000000..b4afabb --- /dev/null +++ b/client/node_modules/@electron/remote/dist/src/main/objects-registry.d.ts @@ -0,0 +1,16 @@ +import { WebContents } from 'electron'; +declare class ObjectsRegistry { + private nextId; + private storage; + private owners; + private electronIds; + add(webContents: WebContents, contextId: string, obj: any): number; + get(id: number): any; + remove(webContents: WebContents, contextId: string, id: number): void; + clear(webContents: WebContents, contextId: string): void; + private saveToStorage; + private dereference; + private registerDeleteListener; +} +declare const _default: ObjectsRegistry; +export default _default; |