import type { OutputFormatMode } from '../members/types.ts'; export declare class OutputFormatError extends Error { constructor(message: string); } export interface FormatValidationResult { valid: boolean; message: string; } /** * Tests output against a declared regex pattern. Pure: no side effects, no * throw on invalid regex — a bad pattern reports invalid with a message so the * caller can decide how to surface it. */ export declare function validateOutputFormat(output: string, pattern: string): FormatValidationResult; /** Applies the declared mode to a deviation: strict throws, lenient warns. */ export declare function reportFormatDeviation(message: string, mode: OutputFormatMode): never | void; //# sourceMappingURL=outputFormat.d.ts.map