import { Platform } from '../../types.js';
export interface BuildOptions {
    scheme?: string;
    configuration?: string;
    platform?: Platform;
    deviceId?: string;
    derivedDataPath?: string;
}
export interface TestOptions {
    scheme?: string;
    configuration?: string;
    platform?: Platform;
    deviceId?: string;
    testFilter?: string;
    testTarget?: string;
}
/**
 * Handles xcodebuild commands for Xcode projects
 */
export declare class XcodeBuild {
    /**
     * Validates that a scheme supports the requested platform
     * @throws Error if the platform is not supported
     */
    private validatePlatformSupport;
    /**
     * Extracts available platforms from xcodebuild error output
     */
    private extractAvailablePlatforms;
    /**
     * Build an Xcode project or workspace
     */
    build(projectPath: string, isWorkspace: boolean, options?: BuildOptions): Promise<{
        success: boolean;
        output: string;
        appPath?: string;
    }>;
    /**
     * Run tests for an Xcode project
     */
    test(projectPath: string, isWorkspace: boolean, options?: TestOptions): Promise<{
        success: boolean;
        output: string;
        passed: number;
        failed: number;
        failingTests?: string[];
    }>;
    /**
     * Clean build artifacts
     */
    clean(projectPath: string, isWorkspace: boolean, options?: {
        scheme?: string;
        configuration?: string;
    }): Promise<void>;
}
//# sourceMappingURL=XcodeBuild.old.d.ts.map