import type { SanityPlugin } from './types.js'; export interface EnvFileOptions { /** * Filenames that ARE allowed to be staged. Defaults to the * conventional templates: `.env.example`, `.env.template`, * `.env.sample`, `.env.dist`. */ readonly allowlist?: ReadonlyArray; } /** * Block staged `.env*` files unless they're in the allowlist. * * @deprecated Superseded by `secretsPlugin`, which adds encryption- * aware detection (envx/dotenvx-encrypted env files pass without an * allowlist entry) and consolidates with the secret-pattern + plaintext * heuristics. Still exported for power users who want fine-grained * control over individual sub-checks. */ export declare function envFilePlugin(opts?: EnvFileOptions): SanityPlugin; /** True for any `.env`, `.env.` filename. */ export declare function isEnvFile(file: string): boolean; //# sourceMappingURL=env-file.d.ts.map