import { type Report } from "@agentlinthq/core"; /** CLI version. Kept in sync with packages/cli/package.json. */ export declare const VERSION = "2.3.0"; export interface ScanOptions { /** Path to the repo to scan. Resolved against process.cwd(). */ cwd: string; /** Optional docs-site URL — plumbed through to documentation rules. */ url?: string; } export type { Report } from "@agentlinthq/core"; /** * Run a full agentlint scan against `cwd` and return the report. * * Same behavior as the CLI's default scan path: every rule runs once * against a shared, cached `ScanContext`. Rule crashes are caught and * surfaced as `fail` results — `runScan` itself does not throw on rule * errors (rules-never-throw contract). */ export declare function runScan(opts: ScanOptions): Promise; //# sourceMappingURL=api.d.ts.map