import { ICallback } from './types/index.js';
export declare function withOptionalCallback<T>(cb: ICallback<T> | undefined, fn: (callback: ICallback<T>) => void): Promise<T> | void;
//# sourceMappingURL=with-optional-callback.d.ts.map