/** * @packageDocumentation * * Retrieve formatter implementations by name or path. */ import type { Formatter } from './types.js'; /** * Retrieve a formatter by name. * * @param name - Formatter identifier or module path. * @returns Promise resolving to a formatter function. * * @example * ```ts * const formatter = await getFormatter('json'); * const out = formatter(results); * ``` * * @example * ```ts * const formatter = await getFormatter('./custom-formatter.js'); * const out = formatter(results); * ``` */ export declare function getFormatter(name: string): Promise; //# sourceMappingURL=get-formatter.d.ts.map