import type { Result, ScanContext } from "@agentlinthq/core"; /** Quick result builders to keep rule files compact. */ export declare const pass: (ruleId: string, points: number, message: string) => Result; export declare const fail: (ruleId: string, message: string, fix?: Result["fix"]) => Result; export declare const warn: (ruleId: string, points: number, message: string, fix?: Result["fix"]) => Result; export declare const skip: (ruleId: string, message: string) => Result; /** Find AGENTS.md (or its case variants) at the repo root. */ export declare function findAgentsMd(ctx: ScanContext): Promise<{ name: string; content: string; } | null>; /** Get a script value from package.json's scripts object, if any. */ export declare function getNpmScript(ctx: ScanContext, name: string): string | undefined; /** * Scan AGENTS.md for sections — case-insensitive, looks for ## or ### * headings whose text contains the given keyword. */ export declare function hasSection(content: string, keyword: string): boolean; //# sourceMappingURL=_helpers.d.ts.map