import type { HydratedLintIssue } from './alphalib/assembly-linter.lang.en.ts'; import type { AssemblyInstructionsInput, StepsInput } from './alphalib/types/template.ts'; import type { ResponseTemplateContent, TemplateContent } from './apiTypes.ts'; export type LintFatalLevel = 'error' | 'warning'; export interface LintAssemblyInstructionsInput { /** * Assembly Instructions as a JSON string, a full instructions object, or a steps-only object. */ assemblyInstructions?: AssemblyInstructionsInput | StepsInput | string; /** * Optional template content to merge with the provided instructions. */ template?: TemplateContent | ResponseTemplateContent; /** * Treat issues at this level or above as fatal. Defaults to "error". */ fatal?: LintFatalLevel; /** * Apply auto-fixes where possible and return the fixed JSON. */ fix?: boolean; } export interface LintAssemblyInstructionsResult { success: boolean; issues: HydratedLintIssue[]; fixedInstructions?: string; } export declare function lintAssemblyInstructions(options: LintAssemblyInstructionsInput): Promise; //# sourceMappingURL=lintAssemblyInstructions.d.ts.map