/** * Default name for the primary environment file containing actual values. * This file should typically be git-ignored as it may contain secrets. * @example '.env' */ export declare const DEFAULT_ENV_FILE = ".env"; /** * Default name for the example/template environment file. * This file should be committed to version control to document required variables. * @example '.env.example' */ export declare const DEFAULT_EXAMPLE_FILE = ".env.example"; /** * Name of the git directory used to detect repository root. */ export declare const GIT_DIR = ".git"; /** * Name of the gitignore file used to check if env files are properly ignored. */ export declare const GITIGNORE_FILE = ".gitignore"; /** * Constant of possible issues detected with .gitignore regarding environment files. */ export declare const GITIGNORE_ISSUES: { readonly NO_GITIGNORE: "no-gitignore"; readonly NOT_IGNORED: "not-ignored"; }; /** * Common environment file variants checked during auto-discovery. * Listed in priority order - earlier entries are preferred when multiple exist. * * @remarks * - `.env` - Primary environment file (should be git-ignored) * - `.env.example` - Template file (should be committed) * - `.env.local` - Local overrides (should be git-ignored) * - `.env.production` - Production-specific values (should be git-ignored) * - `.env.development` - Development-specific values (depends on workflow, so we don't warn) */ export declare const DEFAULT_ENV_CANDIDATES: readonly [".env", ".env.example", ".env.local", ".env.production", ".env.development", ".env.schema"]; /** * Patterns to check for in .gitignore when validating env file safety. * These files should always be git-ignored to prevent committing secrets. */ export declare const DEFAULT_GITIGNORE_ENV_PATTERNS: readonly [".env"]; /** * Allowed categories for filtering comparison results. * These categories can be used to focus on specific types of differences. */ export declare const ALLOWED_CATEGORIES: readonly ["missing", "extra", "empty", "duplicate", "gitignore"]; /** * Threshold in days for showing expiration warnings for environment variables. * Expiration warnings are shown for variables with expiration dates within this threshold. * Expiration warnings do not trigger an error exit by default, but can be promoted to errors with strict mode. */ export declare const EXPIRE_THRESHOLD_DAYS = 20; /** * Threshold in days for urgent expiration checks. * Expiration warnings at or below this value trigger an error exit even without strict mode. */ export declare const URGENT_EXPIRE_DAYS = 7; //# sourceMappingURL=constants.d.ts.map