import 'reflect-metadata'; import { TargetClassDecorator } from './common'; import { IPluginConstructor } from './plugins'; export declare const LIBRARY_META = "ffi-decorators:library-meta"; /** Library decorator options */ export interface ILibraryOptions { /** * Optional path or name of the library. * * If this is not supplied, the library path or name must be supplied as * the first constructor argument */ libPath?: string; /** * Override the plugins used in proxying the class and transforming * the arguments. * * Defaults to `[PromisePlugin, CallbackPlugin]` */ plugins?: IPluginConstructor[]; } /** * Used to automatically proxy native calls on the decorated class * @param options options */ export declare function Library(options?: ILibraryOptions): TargetClassDecorator;