import { NextConfig } from 'next';

interface BlackshieldNextOptions {
    /** Fail build on environment validation errors */
    failOnEnvErrors?: boolean;
    /** Custom configuration */
    config?: {
        envValidation?: {
            allowedPublicVars?: string[];
        };
    };
}
declare function withBlackshield(nextConfig?: NextConfig, options?: BlackshieldNextOptions): NextConfig;

export { type BlackshieldNextOptions, withBlackshield };
