import { Configuration } from 'webpack';
type CliArg = string | undefined;
type PathToConfig = CliArg;
/**
 * Get the absolute path to a file from the project root.
 *
 * @param fileName - The file name to get the absolute path to.
 *
 * @returns The absolute path to the file.
 */
declare const fromProjectRoot: (fileName: string) => string;
/**
 * Check if a file exists in the project root.
 *
 * @param fileName - The file name to check for.
 */
declare const hasProjectFile: (fileName: string) => boolean;
/**
 * Get all arguments passed to the CLI.
 */
declare const getArgsFromCLI: () => string[];
/**
 * Get the value of an argument passed to the CLI.
 *
 * @param arg - The argument to get the value of.
 */
declare const getArgFromCLI: (arg: string) => CliArg;
/**
 * Check if an argument is present in the CLI.
 *
 * @param arg - The argument to check for.
 */
declare const hasArgInCLI: (arg: string) => boolean;
/**
 * Get the path to the user's webpack config file.
 */
declare const getUserWebpackConfigFilePath: () => PathToConfig;
/**
 * Get the path to the webpack config file.
 */
declare const getWebpackConfig: () => PathToConfig;
/**
 * Get the user's webpack configuration.
 */
declare const getUserWebpackConfig: () => Configuration | {};
/**
 * Get the default arguments to pass to wp-scripts.
 *
 * @returns {string[]}
 */
declare const getDefaultArgs: () => string[];
export { fromProjectRoot, getArgFromCLI, getArgsFromCLI, getDefaultArgs, getWebpackConfig, getUserWebpackConfigFilePath, getUserWebpackConfig, hasArgInCLI, hasProjectFile, };
//# sourceMappingURL=index.d.ts.map