import { TMethod } from './models'; export interface IOptions { onError?: 'reject' | 'resolve'; } declare const promisify: (method: TMethod | Promise, options_?: IOptions) => (...args: any[]) => Promise; export default promisify;