/**
 * Bundle Command
 *
 * Supports both single-environment and multi-environment builds.
 */
import type { GlobalOptions } from '../../types/index.js';
export interface BundleCommandOptions extends GlobalOptions {
    config: string;
    env?: string;
    all?: boolean;
    stats?: boolean;
    json?: boolean;
    cache?: boolean;
}
export declare function bundleCommand(options: BundleCommandOptions): Promise<void>;
/**
 * High-level bundle function for programmatic usage.
 *
 * Handles configuration loading, parsing, and logger creation internally.
 *
 * @param configOrPath - Bundle configuration object or path to config file
 * @param options - Bundle options
 * @param options.silent - Suppress all output (default: false)
 * @param options.verbose - Enable verbose logging (default: false)
 * @param options.stats - Collect and return bundle statistics (default: false)
 * @param options.cache - Enable package caching (default: true)
 * @returns Bundle statistics if stats option is true, otherwise void
 *
 * @example
 * ```typescript
 * // With config object
 * await bundle({
 *   platform: 'web',
 *   packages: { '@walkeros/collector': { imports: ['startFlow'] } },
 *   sources: { browser: { code: 'sourceBrowser' } },
 *   destinations: { api: { code: 'destinationApi' } },
 *   code: 'export default startFlow({ sources, destinations })',
 *   output: './dist/walker.js'
 * });
 *
 * // With config file
 * await bundle('./walker.config.json', { stats: true });
 * ```
 */
export declare function bundle(configOrPath: unknown, options?: {
    silent?: boolean;
    verbose?: boolean;
    stats?: boolean;
    cache?: boolean;
}): Promise<import('./bundler').BundleStats | void>;
//# sourceMappingURL=index.d.ts.map