import { type Compiler } from '@rspack/core'; import type { DevOptions, PluginInterface } from '../types.js'; export declare function getEnvFileCandidates(browser: DevOptions['browser'], mode: string): string[]; export declare function getEnvFileLayers(browser: DevOptions['browser'], mode: string): string[]; export declare function isEnvFileForAnotherTarget(file: string): boolean; export declare function isEnvFileName(file: string): boolean; export declare function looksLikeSecretName(name: string): boolean; export declare class EnvPlugin { readonly browser: DevOptions['browser']; readonly manifestPath?: string; readonly define?: Record; constructor(options: Partial); apply(compiler: Compiler): void; }