import { Compartment, StateField } from '@codemirror/state'; import type { FilterFieldError } from './types/filter-field-error.js'; export declare const placeholderCompartment: Compartment; export declare const suggestionsCompartment: Compartment; export declare const ariaAttributesCompartment: Compartment; export declare const disabledPropCompartment: Compartment; export declare const readOnlyPropCompartment: Compartment; export declare const stringAnnotation: import("@codemirror/state").AnnotationType; /** * Transaction annotation dispatched when deleting a statement using the widget. * @internal */ export declare const ANNOTATION_DELETE_STATEMENT = "input.type.delete-statement"; /** * Transaction annotation dispatched when applying a suggestion. * @internal */ export declare const ANNOTATION_SUGGESTION_APPLY = "suggestion.apply"; /** * Transaction annotation dispatched to work around missing compositionend events. * @internal */ export declare const ANNOTATION_COMPOSE_END = "input.type.compose.end"; /** * @internal */ export declare const syntaxModeEffect: import("@codemirror/state").StateEffectType<"basic" | "complex" | undefined>; /** * @internal */ export declare const usedSyntaxMode: StateField<"basic" | "complex" | undefined>; /** * We need to store the validatorMap in a StateField to be able * to access it in the generateErrorsOrDiagnostics() function * @internal */ export declare const validatorMapEffect: import("@codemirror/state").StateEffectType; /** * @internal */ export declare const usedValidatorMap: StateField; /** * State field to store the filter field errors. * They are generated in the tree conversion and then re-used in the plugins for * creating the error decorations and tooltips. * @internal */ export declare const errorsEffect: import("@codemirror/state").StateEffectType<{ errors: FilterFieldError[]; }>; /** * @internal */ export declare const usedErrors: StateField<{ errors: FilterFieldError[]; }>; /** * List of keys that are handled separately and should not trigger the default behavior. * @internal */ export declare const overrideKeys: string[]; /** * List of static editor extensions. * @internal */ export declare const staticEditorExtensions: (import("@codemirror/state").Extension | StateField<"basic" | "complex" | undefined> | StateField | StateField<{ errors: FilterFieldError[]; }>)[];