import type { Rule } from "../types.js"; interface ServerValidation { ok: boolean; reason?: string; } declare function isAllowlisted(repoRoot: string): boolean; declare function discoverConfigs(repoRoot: string): string[]; declare function validateServerEntry(name: string, entry: unknown): ServerValidation; interface ConfigValidation { errors: string[]; validServers: number; } declare function validateConfig(data: unknown): ConfigValidation; export declare const rule: Rule; export declare const _internal: { validateConfig: typeof validateConfig; validateServerEntry: typeof validateServerEntry; isAllowlisted: typeof isAllowlisted; discoverConfigs: typeof discoverConfigs; CANDIDATE_PATHS: string[]; DISABLE_DIRECTIVE: string; }; export {};