import { Dependencies } from "../dependencies"; import { Plugin } from "../cli"; export type LintEntityType = "attribute" | "segment" | "feature" | "group" | "schema" | "test"; export interface LintProjectOptions { keyPattern?: string; entityType?: string; authors?: boolean; json?: boolean; pretty?: boolean; } export interface LintErrorItem { filePath: string; entityType: LintEntityType; key: string; message: string; path: (string | number)[]; code?: string; value?: unknown; /** Present only when splitByEnvironment is true and the error is from an environment-specific file (rules/force/expose). */ environment?: string; } export interface LintResult { hasError: boolean; errors: LintErrorItem[]; } export declare function lintProject(deps: Dependencies, options?: LintProjectOptions): Promise; export declare const lintPlugin: Plugin;