/**
 * Resolve `create.tableOfContents` placement from the current selection.
 * @param {import('../../core/Editor.js').Editor} editor
 * @returns {import('../../../../../../document-api/src/index.js').CreateTableOfContentsInput['at']}
 */
export function resolveTableOfContentsCreateLocation(editor: import('../../core/Editor.js').Editor): import('../../../../../../document-api/src/index.js').CreateTableOfContentsInput["at"];
/**
 * Full-dispatch insert at the current selection (toolbar, shortcuts, etc.).
 * Applies the TOC transaction, then synchronously syncs heading bookmarks — same
 * orchestration as `createTableOfContentsWrapper` in toc-wrappers.ts.
 *
 * @param {import('../../core/Editor.js').Editor} editor
 * @returns {boolean}
 */
export function insertTableOfContentsAtSelection(editor: import('../../core/Editor.js').Editor): boolean;
//# sourceMappingURL=table-of-contents-insertion.d.ts.map