import { type ValidateFunction } from 'ajv/dist/2020'; import type { Diagnostic } from '@codemirror/lint'; import type { JobSchemaResponse } from '../../../../../sdk/pipeline/types'; export declare const compileJobSchema: (schema: JobSchemaResponse) => ValidateFunction; /** Validate the raw document: never remove unknown keys or coerce values before validation. */ export declare const yamlDiagnostics: (text: string, schema?: JobSchemaResponse) => Diagnostic[];