export interface XyJsonDiagnostic {
    file?: string;
    line?: number;
    message: string;
    rule?: string;
}
export interface XyJsonEnvelope<T = unknown> {
    command: string;
    data?: T;
    durationMs: number;
    errorCount: number;
    errors?: XyJsonDiagnostic[];
    exitCode: number;
    schemaVersion: 1;
    success: boolean;
    warningCount: number;
    warnings?: XyJsonDiagnostic[];
}
export declare function isJsonMode(): boolean;
export declare function setJsonMode(enabled: boolean): void;
export declare function isStrictMode(): boolean;
export declare function setStrictMode(enabled: boolean): void;
export declare function setCurrentCommand(name: string): void;
export declare function emitJson<T = unknown>(envelope: XyJsonEnvelope<T>): void;
export declare function xyLog(...args: unknown[]): void;
export declare function resetReporterForTesting(): void;
//# sourceMappingURL=xyReporter.d.ts.map