import { type Injector, type Provider } from '@angular/core'; import { type TuiBackgroundColorOptions } from '@taiga-ui/editor/extensions/background-color'; import { type TuiDetailsExtensionOptions } from '@taiga-ui/editor/extensions/details'; import { type TuiFontColorOptions } from '@taiga-ui/editor/extensions/font-color'; import { type TuiFontSizeOptions } from '@taiga-ui/editor/extensions/font-size'; import { type TuiImageExtensionOptions } from '@taiga-ui/editor/extensions/image-editor'; import { type Extension, type Mark, type Node } from '@tiptap/core'; import { type BlockquoteOptions } from '@tiptap/extension-blockquote'; import { type BoldOptions } from '@tiptap/extension-bold'; import { type BulletListOptions } from '@tiptap/extension-bullet-list'; import { type CodeOptions } from '@tiptap/extension-code'; import { type CodeBlockOptions } from '@tiptap/extension-code-block'; import { type DetailsContentOptions } from '@tiptap/extension-details-content/src/details-content'; import { type DetailsSummaryOptions } from '@tiptap/extension-details-summary'; import { type DropcursorOptions } from '@tiptap/extension-dropcursor'; import { type HardBreakOptions } from '@tiptap/extension-hard-break'; import { type HeadingOptions } from '@tiptap/extension-heading'; import { type HistoryOptions } from '@tiptap/extension-history'; import { type HorizontalRuleOptions } from '@tiptap/extension-horizontal-rule'; import { type ItalicOptions } from '@tiptap/extension-italic'; import { type LinkOptions } from '@tiptap/extension-link'; import { type ListItemOptions } from '@tiptap/extension-list-item'; import { type OrderedListOptions } from '@tiptap/extension-ordered-list'; import { type ParagraphOptions } from '@tiptap/extension-paragraph'; import { type PlaceholderOptions } from '@tiptap/extension-placeholder'; import { type StrikeOptions } from '@tiptap/extension-strike'; import { type SubscriptExtensionOptions } from '@tiptap/extension-subscript'; import { type SuperscriptExtensionOptions } from '@tiptap/extension-superscript'; import { type TableHeaderOptions } from '@tiptap/extension-table-header'; import { type TableRowOptions } from '@tiptap/extension-table-row/src/table-row'; import { type TaskItemOptions } from '@tiptap/extension-task-item'; import { type TaskListOptions } from '@tiptap/extension-task-list'; import { type TextAlignOptions } from '@tiptap/extension-text-align'; import { type TextStyleOptions } from '@tiptap/extension-text-style'; import { type UnderlineOptions } from '@tiptap/extension-underline'; import { type StarterKitOptions } from '@tiptap/starter-kit'; interface Options { starterKit: Partial | boolean; blockquote: Partial | boolean; bold: Partial | boolean; bulletList: Partial | boolean; code: Partial | boolean; codeBlock: Partial | boolean; document: Partial> | boolean; dropcursor: Partial | boolean; gapcursor: Partial<{ allowGapCursor: boolean; }> | boolean; hardBreak: Partial | boolean; heading: Partial | boolean; history: Partial | boolean; horizontalRule: Partial | boolean; italic: Partial | boolean; taskList: Partial | boolean; taskItem: Partial | boolean; listItem: Partial | boolean; orderedList: Partial | boolean; paragraph: Partial | boolean; strike: Partial | boolean; text: Partial> | boolean; placeholder: Partial | boolean; enter: Partial> | boolean; textStyle: Partial | boolean; fontSize: Partial | boolean; textAlign: Partial | boolean; underline: Partial | boolean; subscript: Partial | boolean; superscript: Partial | boolean; fontColor: Partial | boolean; link: Partial | boolean; jumpAnchor: Partial> | boolean; fileLink: Partial> | boolean; backgroundColor: Partial | boolean; table: Partial> | boolean; tableCell: Partial> | boolean; tableRow: Partial | boolean; tableHeader: Partial | boolean; tableCellBackground: Partial> | boolean; tab: Partial> | boolean; details: Partial | boolean; detailsSummary: Partial | boolean; detailsContent: Partial | boolean; image: Partial | boolean; video: Partial> | boolean; audio: Partial> | boolean; source: Partial> | boolean; iframe: Partial> | boolean; } type AsyncExtension = Promise | Mark | Node>; export declare function provideTuiEditor(options: Partial): Provider; export declare function provideTuiEditor(...extensions: ReadonlyArray<(_: Injector) => AsyncExtension>): Provider; export declare function provideTuiEditor(options: Partial, ...extensions: ReadonlyArray<(_: Injector) => AsyncExtension>): Provider; export {};