/** * Ambidextrously execute the method with the passed arguments. * If method.length > args.length, then ambi provides the method with a completion callback as the last expected argument. * @param method A method, that can either resolve synchronously, via a promise, or via a callback. * @param args The arguments to provide the function. * @returns The determined result. */ export default function ambi(method: Function, ...args: any): Promise; //# sourceMappingURL=index.d.ts.map