import type { Path } from 'slate'; import type { YooEditor } from '../types'; import type { GetElementPathOptions } from './types'; /** * Get parent path of an element in the Slate tree * * @param editor - YooEditor instance * @param options - Get options * @returns Parent path or null if not found * * @example * ```typescript * // Get parent path of element * const parentPath = editor.getParentElementPath({ * blockId: 'accordion-1', * element: accordionContentElement * }); * ``` */ export declare function getParentElementPath(editor: YooEditor, options: GetElementPathOptions): Path | null; //# sourceMappingURL=getParentElementPath.d.ts.map