import type { AuditOptions } from "@pseolint/core"; /** * Loads `pseolint.config.{ts,mts,js,cjs,mjs,json}` etc. via cosmiconfig. * * v0.4.1 fix: cosmiconfig 9 ships with a `.ts` loader that depends on the * `typescript` package being installed at runtime. The CLI does not (and * should not) ship `typescript` as a runtime dependency, so config files * authored as `pseolint.config.ts` would fail to load — leaving users to * inline `--ignore` patterns. We replace the `.ts`/`.mts` loaders with * `jiti`, which transpiles TS at runtime without any peer deps. */ export declare function loadConfig(): Promise; export interface CliFlags { concurrency?: number; timeout?: number; sampleSize?: number; ignore?: string[]; render?: { browserWsEndpoint?: string; analyticsMode?: "block" | "allow" | "allow-first-party"; extraBlockedHosts?: string[]; }; crawlDiscovery?: boolean; cache?: { dir?: string; ttlMs: number; maxBytes?: number; }; samplingStrategy?: "stratified" | "random"; maxPerTemplate?: number; authorityScore?: number; safeMode?: "saas" | "cli" | "dev"; autoDevPreset?: boolean; backpressure?: boolean; respectRobotsTxt?: boolean; respectNoindex?: boolean; skipDetectedAuth?: boolean; skipBoilerplate?: boolean; skipSearchPages?: boolean; skipEmptyBody?: boolean; followRedirects?: boolean; /** v0.4 §4.11: bypass site-classification rule suppression. */ strict?: boolean; state?: { path?: string; since?: boolean; exitOnRegression?: boolean; }; ai?: { enabled?: boolean; provider?: string; model?: string; endpoint?: string; maxInputTokens?: number; maxCostUsd?: number; dailyBudgetUsd?: number; suggest?: boolean; cache?: { ttlMs?: number; } | false; }; contentEffort?: { enabled?: boolean; model?: string; cacheDir?: string; }; telemetry?: { enabled?: boolean; path?: string; prompt?: boolean; feedback?: "helpful" | "unhelpful"; }; } export declare function mergeOptions(configFile: AuditOptions, cliFlags: CliFlags): AuditOptions; //# sourceMappingURL=config.d.ts.map