import type { SlateElement, YooEditor, YooptaBlockData, YooptaPathIndex } from '../types';
export type InsertBlockOptions = {
    at?: YooptaPathIndex;
    focus?: boolean;
    blockData?: Omit<Partial<YooptaBlockData>, 'type'>;
    /**
     * Element structure created with editor.y()
     * If provided, this will be used as the block's value
     *
     * @example
     * ```typescript
     * editor.insertBlock('Accordion', {
     *   elements: editor.y('accordion-list', {
     *     children: [
     *       editor.y('accordion-list-item', {
     *         props: { isExpanded: false },
     *         children: [
     *           editor.y('accordion-list-item-heading'),
     *           editor.y('accordion-list-item-content', {
     *             children: [
     *               editor.y('paragraph'),
     *               editor.y('heading-one')
     *             ]
     *           })
     *         ]
     *       })
     *     ]
     *   })
     * });
     * ```
     */
    elements?: SlateElement;
};
export declare function insertBlock(editor: YooEditor, type: string, options?: InsertBlockOptions): string;
//# sourceMappingURL=insertBlock.d.ts.map