/**
 * Search match object
 * @typedef {Object} SearchMatch
 * @property {string} text - Found text
 * @property {number} from - From position
 * @property {number} to - To position
 * @property {string} id - ID of the search match
 */
/**
 * Configuration options for Search
 * @typedef {Object} SearchOptions
 * @category Options
 */
/**
 * Options for the search command
 * @typedef {Object} SearchCommandOptions
 * @property {boolean} [highlight=true] - Whether to apply CSS classes for visual highlighting of search matches.
 *   When true, matches are styled with 'ProseMirror-search-match' or 'ProseMirror-active-search-match' classes.
 *   When false, matches are tracked without visual styling, useful for programmatic search without UI changes.
 */
/**
 * @module Search
 * @sidebarTitle Search
 * @snippetPath /snippets/extensions/search.mdx
 */
export const Search: Extension;
/**
 * Search match object
 */
export type SearchMatch = {
    /**
     * - Found text
     */
    text: string;
    /**
     * - From position
     */
    from: number;
    /**
     * - To position
     */
    to: number;
    /**
     * - ID of the search match
     */
    id: string;
};
/**
 * Configuration options for Search
 */
export type SearchOptions = any;
/**
 * Options for the search command
 */
export type SearchCommandOptions = {
    /**
     * - Whether to apply CSS classes for visual highlighting of search matches.
     * When true, matches are styled with 'ProseMirror-search-match' or 'ProseMirror-active-search-match' classes.
     * When false, matches are tracked without visual styling, useful for programmatic search without UI changes.
     */
    highlight?: boolean;
};
import { Extension } from '@core/Extension.js';
//# sourceMappingURL=search.d.ts.map