import type { RicosDocumentNode } from '../../ricos-schema/next-schema/index.js';
export type RangeSpotlight = {
    type: 'range';
    from?: string;
    to?: string;
    excluded?: boolean;
    highlightType?: 'line' | 'background';
};
export type AfterSpotlight = {
    type: 'afterNode';
    id?: string;
    highlightType?: 'line' | 'background';
};
export type Spotlight = RangeSpotlight | AfterSpotlight;
export type DocumentChange = {
    nodes: RicosDocumentNode[];
    position: Spotlight;
};
declare module '../../tiptap/core/index' {
    interface Commands<ReturnType> {
        spotlight: {
            /**
             * Toggle a paragraph
             */
            setSpotlightList: (spotlightList: Spotlight[], skipScroll?: boolean) => ReturnType;
            injectNodes: (args: DocumentChange[], revert: {
                changes?: DocumentChange[];
            }) => ReturnType;
            clear: () => ReturnType;
        };
    }
}
export declare const spotlight: import("../../ricos-types/tiptap").RicosFunctionalExtension<unknown, unknown>;
//# sourceMappingURL=extension.d.ts.map