import type { CircuitComponent, ComponentKind, Pin, Position } from "./types.js"; /** Both Arduino boards share the ATmega328P core, params, USB-power model, and pin name space. */ export declare function isArduinoBoardKind(kind: ComponentKind | string): boolean; /** * Board kinds hosted by a `MicrocontrollerCore` in the engine (`state.arduinos`). * Grows as new MCU boards are added (e.g. `raspberry_pi_pico`); today it is * exactly the Arduino kinds. Prefer this over `isArduinoBoardKind` in * core-agnostic engine loops so a new board is picked up automatically. */ export declare function isMcuBoardKind(kind: ComponentKind | string): boolean; export declare const ARDUINO_UNO_WIDTH = 263; export declare const ARDUINO_UNO_HEIGHT = 204; export declare const ARDUINO_UNO_BOUNDS: { readonly x: -80; readonly y: 0; readonly w: number; readonly h: 204; }; export declare const ARDUINO_USB_TOGGLE_BOUNDS: { readonly x: -76; readonly y: 32; readonly w: 116; readonly h: 49; }; /** Component-local hit region for the tactile reset button (matches renderer art). */ export declare const ARDUINO_RESET_BUTTON_BOUNDS: { readonly x: 11.5; readonly y: 1.5; readonly w: 24.5; readonly h: 24.5; }; export declare const ARDUINO_UNO_SVG_ORIGIN_X = 142.85; export declare const ARDUINO_UNO_SVG_ORIGIN_Y = 36.4; export declare const ARDUINO_UNO_SVG_SCALE = 0.3256; /** Map an SVG-space X to component-local px. */ export declare function arduinoUnoSvgX(x: number): number; /** Map an SVG-space Y to component-local px. */ export declare function arduinoUnoSvgY(y: number): number; export declare const ARDUINO_UNO_PINS: Pin[]; export declare const ARDUINO_UNO_PIN_IDS: Set; export declare function cloneArduinoUnoPins(): Pin[]; export declare function mapLegacyArduinoPinId(pinId: string): string | null; export declare function normalizeArduinoUnoPins(pins?: Pin[]): Pin[]; /** * Internal DIP order for the Nano. The bottom edge is left-to-right; the top * edge is right-to-left so the generic DIP placer produces the visible * left-to-right silkscreen order D12 ... TX1. */ export declare const ARDUINO_NANO_PINS: Pin[]; export declare const ARDUINO_NANO_PIN_IDS: Set; export declare function normalizeArduinoNanoPins(pins?: Pin[]): Pin[]; export declare function arduinoUnoParams(params: CircuitComponent["params"]): CircuitComponent["params"]; /** Shared param defaults for Uno and Nano (identical core/MCU). */ export declare const arduinoBoardParams: typeof arduinoUnoParams; export declare function arduinoUnoAabb(at: Position): { x: number; y: number; w: number; h: number; }; export declare function arduinoUnoRotatedAabb(comp: Pick): { x: number; y: number; w: number; h: number; };