import { type LinterConfig } from '../schema/linter-config.js'; export type ParseErrorCode = 'FILE_NOT_FOUND' | 'FILE_READ_ERROR' | 'YAML_PARSE_ERROR' | 'VALIDATION_ERROR'; export declare class ParseError extends Error { readonly code: ParseErrorCode; readonly cause?: unknown | undefined; constructor(message: string, code: ParseErrorCode, cause?: unknown | undefined); } export type ParseResult = { success: true; data: LinterConfig; configPath: string; } | { success: false; error: ParseError; }; /** * Parse and validate a harness-linter.yml config file */ export declare function parseConfig(configPath: string): Promise; //# sourceMappingURL=config-parser.d.ts.map