import fse from '../compiled/fs-extra';
import { DistPathConfig, NormalizedOutputConfig, HtmlConfig, FilenameConfig } from './types';
export { fse };
export declare function getAbsoluteDistPath(cwd: string, outputConfig: NormalizedOutputConfig): string;
export declare const getDistPath: (outputConfig: NormalizedOutputConfig, type: keyof DistPathConfig) => string;
export declare function isFileExists(file: string): Promise<boolean>;
/**
 * Find first already exists file.
 * @param files - Absolute file paths with extension.
 * @returns The file path if exists, or false if no file exists.
 */
export declare const findExists: (files: string[]) => string | false;
export declare function getPackageNameFromModulePath(modulePath: string): string | false;
export declare function getHTMLPathByEntry(entryName: string, config: {
  output: NormalizedOutputConfig;
  html: HtmlConfig;
}): string;
export declare const getFilename: (output: NormalizedOutputConfig, type: keyof FilenameConfig, isProd: boolean) => string;
export declare function findUp({
  filename,
  cwd
}: {
  filename: string;
  cwd?: string;
}): Promise<string | undefined>;
export declare function findUpSync({
  filename,
  cwd
}: {
  filename: string;
  cwd?: string;
}): string | undefined;