import * as ffi from 'ffi-napi'; import 'reflect-metadata'; import { IPlugin } from './plugins'; /** * Plugin to automatically call node-ffi async feature when function * returns a Promise */ export declare class PromisePlugin implements Partial { private readonly wrapPromise; constructor(target: object, method: string); /** * @inheritDoc */ wrapFunction(func: ffi.ForeignFunction): any; }