export declare function promisify(fn: (callback: (err: Error | null, result: T) => void) => void): Promise; /** * promisify for a call that can change data in QuickBooks — every create, * update and delete. * * Identical to promisify apart from arming the write barrier first, which is * what tells the auth-retry dispatcher that this attempt can no longer be * replayed. Use it for anything that posts; using plain promisify for a write * silently opts that tool back into being retried. */ export declare function promisifyWrite(fn: (callback: (err: Error | null, result: T) => void) => void): Promise; //# sourceMappingURL=promisify.d.ts.map