import type { BuildOptions } from 'esbuild';
import type { CustomCompileEntry, EntryMode, LegacyPackageCompileOptions, XyEsbuildConfig } from './XyConfig.ts';
export type { TypescriptConfigParams } from './createTypescriptConfig.ts';
export { createTypescriptConfig } from './createTypescriptConfig.ts';
export { validateFullPackage } from './validateFullPackage.ts';
export declare const createEsbuildEntryPoints: (srcDir: string, entries: (string | CustomCompileEntry)[], entryMode?: EntryMode) => NonNullable<BuildOptions["entryPoints"]>;
export declare const esbuildOptions: (options?: LegacyPackageCompileOptions[], isVerbose?: boolean) => BuildOptions;
/**
 * @deprecated Use esbuildOptions.
 */
export declare const tsupOptions: (options?: LegacyPackageCompileOptions[], isVerbose?: boolean) => BuildOptions;
export declare const resolvePlatformEsbuildOptions: (value: Record<string, LegacyPackageCompileOptions> | boolean | undefined) => LegacyPackageCompileOptions;
export interface PackageCompileEsbuildMode {
    emitOnly?: boolean;
    validateOnly?: boolean;
}
export declare const packageCompileEsbuild: (config?: XyEsbuildConfig, mode?: PackageCompileEsbuildMode) => Promise<number>;
//# sourceMappingURL=packageCompileEsbuild.d.ts.map