import type { FormatterRule } from '../cli/src/cliFormatterRules'; export type TextFormatter = (text: string) => string; export declare function createFormatter(rules: FormatterRule[], options?: { prefix?: string; suffix?: string; }): TextFormatter;