@typecad/kicad-symbols
Version:
Intelligent fuzzy search for KiCad symbols with CLI interface
28 lines • 999 B
TypeScript
export declare let kicad_cli_path: string | undefined;
export declare let kicad_symbols_path: string | undefined;
export declare class KiCAD {
#private;
constructor();
/**
* Find the symbols directory within a KiCad installation
* @param installationPath - The base KiCad installation path
* @returns The path to the symbols directory, or undefined if not found
*/
private findSymbolsDirectory;
/**
* Get the path to the KiCad symbols directory
* @returns The symbols directory path, or undefined if not found
*/
getSymbolsPath(): string | undefined;
/**
* Get the path to the kicad-cli executable
* @returns The kicad-cli path, or undefined if not found
*/
getCliPath(): string | undefined;
/**
* Check if KiCad symbols are available locally
* @returns True if symbols directory exists and contains .kicad_sym files
*/
hasLocalSymbols(): Promise<boolean>;
}
//# sourceMappingURL=kicad.d.ts.map