import { z } from 'zod'; import type { ArrayElement } from '../util.js'; export declare const DEFAULT_TARGET: TargetConfiguration; export declare const DEFAULT_CONFIGURATION: ProjectConfiguration; declare const schemaValueList: z.ZodObject<{ useGenerated: z.ZodDefault>; values: z.ZodDefault>>; }, z.core.$strip>; declare const schemaValueListTarget: z.ZodObject<{ useGenerated: z.ZodDefault>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>; declare const schemaWorker: z.ZodObject<{ inputFiles: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaWorkerTarget: z.ZodObject<{ inputFiles: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaYosysOptions: z.ZodObject<{ optimize: z.ZodOptional; topLevelModule: z.ZodOptional; synthArguments: z.ZodOptional; }, z.core.$strip>; declare const schemaYosys: z.ZodObject<{ synthPrepareCommands: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; synthCommands: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; rtlCommands: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; topLevelModule: z.ZodOptional; synthArguments: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaYosysTarget: z.ZodObject<{ synthPrepareCommands: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; synthCommands: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; rtlCommands: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; topLevelModule: z.ZodOptional; synthArguments: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaNextpnrOptions: z.ZodObject<{ placedSvg: z.ZodOptional; routedSvg: z.ZodOptional; routedJson: z.ZodOptional; reportJson: z.ZodOptional; pinConfigFile: z.ZodOptional; }, z.core.$strip>; declare const schemaNextpnr: z.ZodObject<{ arguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; routedSvg: z.ZodOptional; routedJson: z.ZodOptional; reportJson: z.ZodOptional; pinConfigFile: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaNextpnrTarget: z.ZodObject<{ arguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; routedSvg: z.ZodOptional; routedJson: z.ZodOptional; reportJson: z.ZodOptional; pinConfigFile: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaFlasherOptions: z.ZodObject<{ board: z.ZodOptional; programToFlash: z.ZodOptional; }, z.core.$strip>; declare const schemaFlasher: z.ZodObject<{ packerArguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; flasherArguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; programToFlash: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaFlasherTarget: z.ZodObject<{ packerArguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; flasherArguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; programToFlash: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaIVerilogOptions: z.ZodObject<{ testbenchFile: z.ZodOptional; }, z.core.$strip>; declare const schemaIVerilog: z.ZodObject<{ arguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const schemaIVerilogTarget: z.ZodObject<{ arguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const schemaProjectConfiguration: z.ZodObject<{ defaults: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; synthPrepareCommands: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; synthCommands: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; rtlCommands: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; topLevelModule: z.ZodOptional; synthArguments: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; nextpnr: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; arguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; routedSvg: z.ZodOptional; routedJson: z.ZodOptional; reportJson: z.ZodOptional; pinConfigFile: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; iverilog: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; arguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; flasher: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; packerArguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; flasherArguments: z.ZodOptional>; values: z.ZodDefault>>; }, z.core.$strip>>; options: z.ZodOptional; programToFlash: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; targets: z.ZodArray; yosys: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; synthPrepareCommands: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; synthCommands: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; rtlCommands: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; topLevelModule: z.ZodOptional; synthArguments: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; nextpnr: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; arguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; routedSvg: z.ZodOptional; routedJson: z.ZodOptional; reportJson: z.ZodOptional; pinConfigFile: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; iverilog: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; arguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; flasher: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; outputFiles: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; packerArguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; flasherArguments: z.ZodOptional>; values: z.ZodDefault>>; useDefault: z.ZodDefault>; }, z.core.$strip>>; options: z.ZodOptional; programToFlash: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; activeTargetId: z.ZodOptional; }, z.core.$strip>; export type ProjectConfiguration = z.infer; export type TargetDefaultsConfiguration = NonNullable; export type TargetConfiguration = ArrayElement; export type ValueListConfiguration = z.infer; export type ValueListConfigurationTarget = z.infer; export type WorkerId = 'yosys' | 'nextpnr' | 'iverilog' | 'flasher'; export type WorkerConfiguration = z.infer; export type WorkerTargetConfiguration = z.infer; export type YosysOptions = z.infer; export type YosysConfiguration = z.infer; export type YosysTargetConfiguration = z.infer; export type NextpnrOptions = z.infer; export type NextpnrConfiguration = z.infer; export type NextpnrTargetConfiguration = z.infer; export type IVerilogOptions = z.infer; export type IVerilogConfiguration = z.infer; export type IVerilogTargetConfiguration = z.infer; export type FlasherOptions = z.infer; export type FlasherConfiguration = z.infer; export type FlasherTargetConfiguration = z.infer; export type TargetOptionTypes = { yosys: YosysOptions; nextpnr: NextpnrOptions; iverilog: IVerilogOptions; flasher: FlasherOptions; }; export interface GeneratedFile { name: string; content: Uint8Array; } export interface WorkerStep { id: string; tool: string; arguments: string[]; generatedInputFiles?: GeneratedFile[]; } export interface WorkerOptions { inputFiles: string[]; outputFiles: string[]; target: TargetConfiguration; options: Options; steps: Step[]; } export {};