import type { SlateElement, YooEditor } from '../types'; import type { GetElementOptions } from './types'; /** * Get single element from a block * * @param editor - YooEditor instance * @param options - Get options * @returns Element or null if not found * * @example * ```typescript * // Get element by type and path * const element = editor.getElement({ * blockId: 'accordion-1', * type: 'accordion-list-item', * path: [0, 1] * }); * * // Get element with custom matcher * const activeItem = editor.getElement({ * blockId: 'accordion-1', * match: (el) => el.type === 'accordion-list-item' && el.props?.isExpanded * }); * ``` */ export declare function getElement(editor: YooEditor, options: GetElementOptions): SlateElement | null; //# sourceMappingURL=getElement.d.ts.map