import type { IJodit } from "jodit/esm/types/index";
type ResolveOptions = {
    selector?: string;
    index?: number;
    requireExactlyOne?: boolean;
};
type ResolveResult = {
    element: HTMLElement;
    identifier: string;
};
/**
 * Resolve block element either by selector or by index within the editor root.
 * Throws descriptive errors for invalid input or missing elements.
 */
export declare function resolveBlock(jodit: IJodit, { selector, index, requireExactlyOne }?: ResolveOptions): ResolveResult;
export {};
