/**
 * Implementation of the Xcode build command.
 * This command handles building iOS apps and reporting build errors.
 *
 * Key features:
 * - Automatic project/workspace detection
 * - Build output streaming
 * - Error parsing and reporting
 */
import type { Command, CommandGenerator, CommandOptions } from '../../types';
export declare class BuildCommand implements Command {
    /**
     * Builds the Xcode project and streams output.
     * Handles both project and workspace configurations.
     *
     * @param dir - Project directory
     * @returns Promise resolving to build info and errors
     */
    private defaultBuildPath;
    private defaultDestination;
    private getBuildOutput;
    /**
     * Parses build output to extract errors and warnings.
     * Handles both file-specific and general messages.
     *
     * @param output - Raw build output string
     * @returns Array of parsed errors
     */
    private parseBuildOutput;
    /**
     * Main execution method for the build command.
     * Builds the project and reports any errors or warnings.
     *
     * @param query - Command query string (unused)
     * @param options - Command options
     * @yields Status messages and command output
     */
    execute(query: string, options: CommandOptions): CommandGenerator;
}
