import type { RuleResult } from "../../types.js"; export interface LlmsTxtFetcher { (url: string): Promise; } /** * Minimal shape check for the emerging llms.txt convention: * - First non-empty line is an `# H1` title * - At least one `## ` section heading * - At least one markdown link line under a section * Deliberately lenient: the spec is still evolving, so only reject obvious garbage. */ export declare function validateLlmsTxt(content: string): { valid: boolean; reason?: string; }; /** * Check for /llms.txt at the origin. Site-level rule — runs once, not per page. */ export interface LlmsTxtRuleOptions { /** Timeout in ms for the /llms.txt fetch. Default: 10 000. */ timeoutMs?: number; } export declare function llmsTxtRule(source: string, fetcherOrOptions?: LlmsTxtFetcher | LlmsTxtRuleOptions): Promise; //# sourceMappingURL=llms-txt.d.ts.map