import type { SafeMode, AuditOptions } from "./types.js"; export type SafeModePreset = { concurrency?: number; sampleSize?: number; guardSsrf?: boolean; respectRobotsTxt?: boolean; followRedirects?: boolean; maxCrawlDiscovered?: number; maxFetchBytes?: number; }; export type SafeModeKey = SafeMode | "__none"; /** * Presets that flip several safety defaults at once. Individual options on * AuditOptions override the preset when explicitly set. `__none` is the * sentinel key used when no preset is selected — all fields undefined so the * `??` chain falls through to hard-coded defaults. */ export declare const SAFE_MODE_PRESETS: Record; /** * Pick the preset key for a given source + options combination. * * explicit `safeMode` → that preset * autoDevPreset !== false && localhost URL → "dev" * otherwise → "__none" */ export declare function resolveSafeModeKey(source: string, options?: Pick): SafeModeKey; //# sourceMappingURL=safe-mode-preset.d.ts.map