export interface KiCADCommandOptions { cwd?: string; stdio?: 'inherit' | 'pipe' | 'ignore'; timeout?: number; } export declare function buildKiCADArgs(command: string, args: string[]): { executable: string; execArgs: string[]; }; /** * Execute a KiCAD command with automatic flatpak wrapper detection */ export declare function executeKiCADCommand(command: string, args?: string[], options?: KiCADCommandOptions): Promise; /** * Execute a KiCAD command synchronously */ export declare function executeKiCADCommandSync(command: string, args?: string[], options?: KiCADCommandOptions): string; /** * Run Design Rule Check on a PCB file */ export declare function runDRC(pcbPath: string, options?: KiCADCommandOptions): Promise; /** * Run Electrical Rule Check on a schematic file */ export declare function runERC(schPath: string, options?: KiCADCommandOptions): Promise; /** * Upgrade a footprint file to the latest format */ export declare function upgradeFootprint(footprintPath: string, options?: KiCADCommandOptions): Promise; /** * Export PCB to various formats */ export declare function exportPCB(pcbPath: string, outputPath: string, format: 'gerber' | 'svg' | 'pdf' | 'step' | 'dxf', options?: KiCADCommandOptions): Promise; /** * Export schematic to various formats */ export declare function exportSchematic(schPath: string, outputPath: string, format: 'pdf' | 'svg' | 'netlist', options?: KiCADCommandOptions): Promise; //# sourceMappingURL=kicad_commands.d.ts.map