import { JSONSchema4 } from 'json-schema'; export type Suggestion = { value: string; description?: string; group?: string; }; export type GroupedSuggestions = Record; export type SuggestionRequestContext = { propertyName: string; inputValue: string | number; cursorPosition?: number | null; }; export interface SuggestionProvider { id: string; appliesTo: (propertyName: string, schema: JSONSchema4) => boolean; getSuggestions: (word: string, context: SuggestionRequestContext) => Suggestion[] | Promise; } //# sourceMappingURL=types.d.ts.map