import { MatchDecorator } from '@codemirror/view';
import type { Suggestion } from './types.js';
/**
 * A class that specializes in creating and managing decorations for suggestion matches in a code editor.
 */
export declare class SuggestionMatchDecorator extends MatchDecorator {
    #private;
    suggestions: Suggestion[];
    /**
     * Creates a new instance of SuggestionMatchDecorator.
     * @param regexp - The regular expression used to match suggestions in the code.
     * @param suggestions - An array of suggestions that will be used to create decorations.
     * Each suggestion should have a unique `id` and a `label` that will be displayed in the editor.
     */
    constructor(regexp: RegExp, suggestions: Suggestion[]);
}
//# sourceMappingURL=SuggestionMatchDecorator.d.ts.map