import type { Bud } from '@roots/bud-framework'; export interface tapAsync { (fn: (app: Bud) => Promise): Promise; } /** * Execute an async callback * * @remarks * Callback is provided {@link Bud | the Bud instance} as a parameter. * * @example * ```js * bud.tapAsync(async bud => { * // do something with bud * }) * ``` * * @example * Lexical scope is bound to Bud where applicable, so it * is possible to reference the Bud using `this`. * * ```js * bud.tapAsync(async function () { * // do something with this * }) * ``` */ export declare const tapAsync: tapAsync;