export interface YamlCompletionItem { label: string; insertText: string; detail?: string; documentation?: string; type: YamlCompletionType; triggerOnInsert?: boolean; } export type YamlCompletionType = 'KEYWORD' | 'VALUE' | 'KEY' | 'BOOLEAN' | 'NUMBER' | 'STRING'; export interface YamlSchema { properties?: Record; required?: string[]; type?: string; enum?: string[]; items?: YamlSchema; } export interface YamlSchemaProperty { type?: string | string[]; description?: string; enum?: string[]; enumDescriptions?: string[]; properties?: Record; items?: YamlSchema; required?: string[]; default?: any; } export interface YamlEditorSchema { schema: YamlSchema; name?: string; description?: string; } export interface YamlValidationError { message: string; startLineNumber: number; endLineNumber: number; startColumn: number; endColumn: number; severity?: 'error' | 'warning' | 'info'; }