import type { SanityPlugin } from './types.js'; export interface LargeFileOptions { /** Threshold above which a staged file is reported as `warning`. */ readonly warnAt?: number; /** Threshold above which a staged file is reported as `error`. */ readonly errorAt?: number; } /** * Flag staged files larger than the configured thresholds. Helps catch * an accidentally-staged build artifact before it lands in history * (binaries, minified bundles, archive dumps). * * Both thresholds are checked: if a file exceeds the error threshold * only one finding (the error) is emitted — we don't double-report. */ export declare function largeFilePlugin(opts?: LargeFileOptions): SanityPlugin; //# sourceMappingURL=large-file.d.ts.map