// Generated by dts-bundle-generator v9.5.1

import { Configuration } from 'webpack';
import { z } from 'zod';

declare const HudPluginOptionsZ: z.ZodObject<{
	accessToken: z.ZodOptional<z.ZodString>;
	silent: z.ZodOptional<z.ZodBoolean>;
	verbose: z.ZodOptional<z.ZodBoolean>;
	apiEndpoint: z.ZodOptional<z.ZodString>;
	cleanupTempSourceMaps: z.ZodOptional<z.ZodBoolean>;
	projectDir: z.ZodOptional<z.ZodString>;
	initFilePath: z.ZodOptional<z.ZodString>;
	distDir: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
	accessToken?: string | undefined;
	silent?: boolean | undefined;
	verbose?: boolean | undefined;
	apiEndpoint?: string | undefined;
	cleanupTempSourceMaps?: boolean | undefined;
	projectDir?: string | undefined;
	initFilePath?: string | undefined;
	distDir?: string | undefined;
}, {
	accessToken?: string | undefined;
	silent?: boolean | undefined;
	verbose?: boolean | undefined;
	apiEndpoint?: string | undefined;
	cleanupTempSourceMaps?: boolean | undefined;
	projectDir?: string | undefined;
	initFilePath?: string | undefined;
	distDir?: string | undefined;
}>;
export type HudPluginOptions = z.infer<typeof HudPluginOptionsZ>;
export type NextConfigObject = {
	webpack?: (config: Configuration, options: any) => Configuration;
	[key: string]: any;
};
export type NextConfigFunction = (phase: string, defaults: {
	defaultConfig: NextConfigObject;
}, ...args: any[]) => NextConfigObject | PromiseLike<NextConfigObject>;
export declare function withHud<T extends NextConfigFunction>(nextConfig: T, hudOptions: HudPluginOptions): T;
export declare function withHud<T extends NextConfigObject>(nextConfig: T, hudOptions: HudPluginOptions): T;

export {
	withHud as default,
};

export {};
