import { MaizzleConfig } from "../types/config.js";
import { NormalizedComponentSource } from "../utils/componentSources.js";

//#region src/server/linter.d.ts
interface LintIssue {
  type: 'error' | 'warning';
  title: string;
  message: string;
  /** Which tab this lands in when merged into the Checks panel. */
  category: 'css' | 'html' | 'image' | 'others';
  /** Optional caniemail slug for URL enrichment (e.g. "html-html"). */
  slug?: string;
  line?: number;
  file: string;
}
declare function scanLint(rootFile: string, config: MaizzleConfig, componentDirs: NormalizedComponentSource[]): Promise<LintIssue[]>;
declare function serveLint(url: string, res: any, config: MaizzleConfig, componentDirs: NormalizedComponentSource[]): Promise<void>;
//#endregion
export { LintIssue, scanLint, serveLint };
//# sourceMappingURL=linter.d.ts.map