import type { Lint } from 'writinglint-core'; export declare const RULESET_VERSION: string; export interface Message extends Lint { line: number; column: number; endLine: number; endColumn: number; } export interface Result { filePath: string; rulesetVersion: string; messages: Message[]; errorCount: number; warningCount: number; infoCount: number; wordCount: number; findingsPerThousandWords: number; } export declare function countWords(text: string): number; export declare function makeResult(filePath: string, source: string, lints: Lint[], analyzedWordCount?: number): Result; /** ESLint-compatible numeric severity, with SlopSift's level and confidence retained. */ export declare function jsonResult(result: Result): object; /** GitHub Actions workflow commands, one annotation per finding. */ export declare function github(results: Result[]): string; export declare function stylish(results: Result[]): string; /** Dense, location-free output for agents and other context-constrained consumers. */ export declare function compact(results: Result[]): string; /** Plain-language model feedback with excerpts but no product names, rule IDs, or source locations. */ export declare function brief(results: Result[]): string;