import { Diagnostic } from '../rules'; import { RawConfig } from './loadConfig'; export declare type LintResult = { filepath: string; diagnostics: Diagnostic[]; fixedText?: string; }; declare type FormatType = 'stylish' | 'json'; export declare function lint(params: { path?: string; formatType: FormatType; configPath?: string; outputFile?: string; text?: string; fix?: boolean; configObject?: RawConfig | null; }): string; export {};