export interface PluginOptions { errorCodes?: boolean; importProcessPolyfill?: boolean; include?: Array | string | RegExp | null; exclude?: Array | string | RegExp | null; } export default function invariantPlugin(options?: PluginOptions): { name: string; transform(code: string, id: string): { code: string; map: null; } | undefined; };