import type { EsBuildSourceMapOptions } from './run-esbuild'; export declare const INCLUDE_SOURCEMAPS_BUILD_DEFAULT: EsBuildSourceMapOptions; export declare const INCLUDE_SOURCEMAPS_DEV_DEFAULT: EsBuildSourceMapOptions; /** * A helper function to decide whether to include sourcemaps in a build or not. If the * given option is undefined (user did not set it) the default value depending on the mode * (dev or build) is used. * If the option was set by the user it should be obeyed. */ export declare function shouldApplySourcemaps(options: { sourcemaps: boolean | 'all' | undefined; dev?: boolean; }): EsBuildSourceMapOptions;