import type { Range } from '../core/index';
import type { ResolvedPos } from '../pm/model';
export type Trigger = {
    char: string;
    allowSpaces: boolean;
    allowedPrefixes: string[] | null;
    startOfLine: boolean;
    $position: ResolvedPos;
};
export type SuggestionMatch = {
    range: Range;
    query: string;
    text: string;
} | null;
export declare const findSuggestionMatch: (config: Trigger) => SuggestionMatch;
//# sourceMappingURL=find-suggestion-match.d.ts.map