import type { PCB } from '../pcb/pcb.js'; import type { KicadIR, KicadFootprintIR } from './types.js'; /** Helper for colored console output */ export interface ChalkHelpers { chKey: (s: string) => string; chProp: (s: string) => string; chStr: (s: string) => string; chNum: (n: number) => string; chPunc: (s: string) => string; chVar: (s: string) => string; } /** Default chalk helpers */ export declare const DEFAULT_CH: ChalkHelpers; /** * Generate TrackBuilder code display from IR segments and nets. * Returns the generated track variable names for use in create() statements. */ export declare function generateTrackCode(ir: KicadIR, pcb: PCB, sourceDescription: string, ch?: ChalkHelpers): string[]; /** * Generate placement code display from IR footprints. * Shows `.pcb = { ... }` assignments and Component constructor code. */ export declare function generatePlacementCode(footprints: KicadFootprintIR[], sourceDescription: string, ch?: ChalkHelpers): void; /** * Generate text element code display from IR text elements. */ export declare function generateTextCode(ir: KicadIR, sourceDescription: string, ch?: ChalkHelpers): void; /** * Generate board outline code display from IR outlines. */ export declare function generateOutlineCode(ir: KicadIR, sourceDescription: string, ch?: ChalkHelpers): void; /** * Generate the `typecad.create(...)` statement that assembles all components and tracks. */ export declare function generateCreateStatement(footprints: KicadFootprintIR[], trackVariableNames: string[], sourceDescription: string, ch?: ChalkHelpers): void; //# sourceMappingURL=display.d.ts.map