import { EditorView, WidgetType } from '@codemirror/view';
import type { Suggestion } from './types.js';
import '../../../md/chip/ui-chip.js';
/**
 * A widget that represents a placeholder in the code editor,
 * specifically for suggestions that are replaced with chips.
 *
 * This widget is used to create a visual representation of a suggestion
 * in the code editor, allowing users to see and interact with suggestions
 * as chips. When a chip is removed, the corresponding text in the editor
 * is also removed.
 */
export declare class ChipWidget extends WidgetType {
    suggestion: Suggestion;
    constructor(suggestion: Suggestion);
    eq(other: WidgetType): boolean;
    toDOM(view: EditorView): HTMLElement;
    ignoreEvent(): boolean;
}
//# sourceMappingURL=ChipWidget.d.ts.map