import type { ObfuscatorOptions } from "javascript-obfuscator"; type OmitKeys = T & { [key in U]: never; }; export type PluginOptions = { enabled: boolean | "detect"; /** * determines which files to be obfuscated */ patterns: string[]; /** * Additional files to be obfuscated */ obfuscateFiles: Partial<{ buildManifest: boolean; ssgManifest: boolean; webpack: boolean; additionalModules: string[]; }>; /** * indicates whether the plugin logs to console */ log: boolean; }; export type ObjectWithUnconstantString> = { [key in keyof T]: Required[key] extends string ? string : Required[key] extends number ? number : Required[key] extends string[] ? string[] : Required[key] extends number[] ? number[] : Required[key] extends Record ? Partial> : T[key]; }; export type NextjsObfuscatorOptions = OmitKeys; export declare const LoggerSymbol: unique symbol; export declare const PublicEnvVariablesSymbol: unique symbol; export type InternalNextjsObfuscatorOptions = NextjsObfuscatorOptions & { [LoggerSymbol]: (...messages: any[]) => void; [PublicEnvVariablesSymbol]: Map; }; export {};