import { ProcessStreams } from './openscad-runner.ts'; import { AbortablePromise } from '../utils.ts'; import { Source } from '../state/app-state.ts'; import { VALID_EXPORT_FORMATS_2D, VALID_EXPORT_FORMATS_3D } from '../state/formats.ts'; import { ParameterSet } from '../state/customizer-types.ts'; import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; type SyntaxCheckArgs = { activePath: string; sources: Source[]; }; type SyntaxCheckOutput = { logText: string; markers: monaco.editor.IMarkerData[]; parameterSet?: ParameterSet; }; export declare const checkSyntax: (sargs: SyntaxCheckArgs) => ({ now }: { now: boolean; }) => AbortablePromise; export type RenderOutput = { outFile: File; logText: string; markers: monaco.editor.IMarkerData[]; elapsedMillis: number; }; export type RenderArgs = { scadPath: string; sources: Source[]; vars?: { [name: string]: any; }; features?: string[]; extraArgs?: string[]; isPreview: boolean; mountArchives: boolean; renderFormat: keyof typeof VALID_EXPORT_FORMATS_2D | keyof typeof VALID_EXPORT_FORMATS_3D; streamsCallback: (ps: ProcessStreams) => void; }; export declare const render: (renderArgs: RenderArgs) => ({ now }: { now: boolean; }) => AbortablePromise; export {}; //# sourceMappingURL=actions.d.ts.map