import type { NoMark } from './types/mark'; import type { ParagraphDefinition as Paragraph } from './paragraph'; import type { HeadingDefinition as Heading } from './heading'; import type { MediaSingleDefinition as MediaSingle } from './media-single'; import type { MediaGroupDefinition as MediaGroup } from './media-group'; import type { CodeBlockDefinition as CodeBlock } from './code-block'; import type { BulletListDefinition as BulletList, OrderedListDefinition as OrderedList } from './types/list'; import type { TaskListDefinition as TaskList } from './task-list'; import type { DecisionListDefinition as DecisionList } from './decision-list'; import type { RuleDefinition as Rule } from './rule'; import type { PanelDefinition as Panel } from './panel'; import type { BlockQuoteDefinition as BlockQuote } from './blockquote'; import type { NodeSpec } from '@atlaskit/editor-prosemirror/model'; /** * @name nestedExpand_content // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names * @minItems 1 // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names * @allowUnsupportedBlock true */ export type NestedExpandContent = Array; /** * @name nestedExpand_node */ export interface NestedExpandBaseDefinition { attrs: { __expanded?: boolean; localId?: string; title?: string; }; content: NestedExpandContent; type: 'nestedExpand'; } /** * @name nestedExpand_with_no_marks_node */ export type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark; /** * @name nestedExpand * @description an expand that can be nested (eg. inside table, layout). */ export declare const nestedExpand: NodeSpec; export declare const nestedExpandWithLocalId: NodeSpec;