import RuleInfo from './ruleinfo.js'; interface RuleEntry { level: 'off' | 'warning' | 'error'; where?: string[]; rule: { type: string; options?: Record; }; fix?: { type?: string; options?: Record; }; policyInfo?: string; policyUrl?: string; } export interface RulesetConfig { version?: number; extends?: string; axioms?: Record; rules?: Record; formatOptions?: Record; [key: string]: unknown; } declare function isAbsoluteURL(url: string): boolean; declare function findConfig(directory?: string): string; declare function loadConfig(configLocation: string, processed?: string[]): Promise; declare function validateConfig(config: RulesetConfig): Promise<{ passed: boolean; error?: string; }>; declare function parseConfig(config: RulesetConfig): RuleInfo[]; declare function decodeConfig(encodedRuleSet: string, processed?: string[]): Promise; declare function isBase64(string_: string): boolean; export { findConfig, isAbsoluteURL, loadConfig, decodeConfig, validateConfig, parseConfig, isBase64 };