import { RuntimeConfig } from '../../utils/types/runtime.config';
/**
 * Build target types
 */
export type BuildTarget = 'react' | 'lambda' | 'cdk' | 'unix' | 'lambdaPipelines';
/**
 * Result of a build operation
 */
export interface BuildResult {
    /** Target that was built */
    target: string;
    /** Whether the build succeeded */
    success: boolean;
    /** Output file path */
    outputPath: string;
    /** Build duration in milliseconds */
    duration: number;
    /** Error if build failed */
    error?: Error;
}
/**
 * Service for orchestrating build operations
 */
export declare class BuildService {
    private cwd;
    constructor(cwd?: string);
    /**
     * Build a specific target
     */
    buildTarget(target: BuildTarget, config: RuntimeConfig): Promise<BuildResult>;
    /**
     * Build all targets sequentially
     */
    buildAll(config: RuntimeConfig): Promise<BuildResult[]>;
    /**
     * Check if we're running in the Runtime package itself
     */
    private isRuntimePackage;
    /**
     * Generate TypeScript declarations
     */
    generateTypes(config: RuntimeConfig): Promise<void>;
}
