import { Action } from '@rhom6us/func'; declare type InferArgs = F extends NodeStyleFn ? args : never; declare type InferResult = F extends NodeStyleFn ? result : never; declare type Callback = Action<[error: TError, result: TResult]>; declare type NodeStyleFn = Action<[...args: Args, callback: Callback]>; export declare function nodeCallbackToAsync(fn: T): (...args: InferArgs) => Promise>; export {}; //# sourceMappingURL=node-callback-to-async.d.ts.map