import type { NodeEntry } from 'slate'; import type { SlateElement, YooEditor } from '../types'; import type { GetElementEntryOptions } from './types'; /** * Get element entry [element, path] from a block * * @param editor - YooEditor instance * @param options - Get options * @returns Element entry or null if not found * * @example * ```typescript * // Get entry by type and path * const entry = editor.getElementEntry({ * blockId: 'accordion-1', * type: 'accordion-list-item', * path: [0, 1] * }); * * if (entry) { * const [element, path] = entry; * console.log('Element at path:', path); * } * ``` */ export declare function getElementEntry(editor: YooEditor, options: GetElementEntryOptions): NodeEntry | null; //# sourceMappingURL=getElementEntry.d.ts.map