import type { Metafile } from 'esbuild'; export type AllMetaFiles = { ui?: string[]; functions?: string[]; actions?: string[]; widgets?: string[]; }; export declare const BUILD_META_FILE_NAME = "build-meta-file.json"; export declare const BUILD_META_FILE_VITE_NAME = "build-meta-file-optimize.json"; /** Writes the passed content to /build/meta-file */ export declare function writeBuildMetaInformation(appRoot: string, content: AllMetaFiles, optimize?: boolean): Promise; /** Reads the content of the build-meta-file.json and returns it. If the file is not present it throws an error. */ export declare function readBuildMetaInformation(appRoot: string, optimize?: boolean): Promise; /** Extracts the bundled inputs from all metafiles */ export declare function extractInputsTreeShaken(allMetaFiles: AllMetaFiles): string[]; /** Goes through the outputs of a metafile, ending with .js, and returns the input file paths as a string array */ export declare function extractInputsFromMetaFileBundles(metaFile: Metafile): string[];