/**
 * Configuration Defaults
 *
 * Platform-specific default build options.
 */
import type { BuildOptions } from '../types/bundle.js';
/**
 * Get default build configuration for platform.
 *
 * @param platform - Target platform ('web' or 'server')
 * @param code - User code to include (required for BuildOptions)
 * @param output - Output file path (optional, uses platform default)
 * @returns Platform-specific default build options
 *
 * @remarks
 * Provides sensible defaults for each platform:
 * - web: IIFE format for browser, ES2020 target
 * - server: ESM format for Node.js, Node18 target
 */
export declare function getDefaultBuildOptions(platform: 'web' | 'server', code: string, output?: string): Partial<BuildOptions>;
/**
 * Ensure build options have all required fields.
 *
 * @param buildOptions - Build options (possibly incomplete)
 * @param flowPlatform - Platform from Flow.Config
 * @returns Complete build options with defaults filled in
 *
 * @remarks
 * Validates and fills in missing required fields using platform-specific defaults.
 * Throws error if critical fields (code, output) are missing.
 */
export declare function ensureBuildOptions(buildOptions: Partial<BuildOptions>, flowPlatform: 'web' | 'server'): BuildOptions;
//# sourceMappingURL=defaults.d.ts.map