UNPKG

@skillpet/circuit

Version:

Circuit diagram library — render electrical schematics from JSON, with interactive SVG, themes, and Vue/React components

41 lines (40 loc) 1.14 kB
import { ElementCompound } from "./element-compound.js"; export { ElementCompound } from "./element-compound.js"; export declare class Optocoupler extends ElementCompound { constructor(userParams?: Record<string, unknown> & { box?: boolean; boxfill?: string; boxpad?: number; base?: boolean; }); setup(): void; } export declare class Rectifier extends ElementCompound { constructor(userParams?: Record<string, unknown> & { fill?: boolean | string; labels?: string[]; }); setup(): void; } export declare class Wheatstone extends ElementCompound { constructor(userParams?: Record<string, unknown> & { vout?: boolean; labels?: string[]; }); setup(): void; } export declare class Relay extends ElementCompound { constructor(userParams?: Record<string, unknown> & { unit?: number; cycl?: boolean; switch?: string; core?: boolean; box?: boolean; boxfill?: string; boxpad?: number; swreverse?: boolean; swflip?: boolean; link?: boolean; }); setup(): void; }