import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
export declare function getIndexMatch(doc: Node, schema: Schema, selectedText: string, startIndex: number): {
    blockNodePos?: number;
    matchIndex: number;
    numMatches: number;
    textContent: string;
};
export declare function countMatches(searchString: string, query: string): number;
