import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
import type { BreakoutMarkDefinition } from '../marks';
import type { MarksObject, NoMark } from './types/mark';
import type { NonNestableBlockContent } from './types/non-nestable-block-content';
import type { NestedExpandDefinition } from './nested-expand';
/**
 * @name expand_node
 */
export interface ExpandBaseDefinition {
    attrs: {
        __expanded?: boolean;
        localId?: string;
        title?: string;
    };
    /**
     * @minItems 1
     * @allowUnsupportedBlock true
     */
    content: Array<NonNestableBlockContent | NestedExpandDefinition>;
    type: 'expand';
}
/**
 * @name expand_with_no_mark_node
 */
export type ExpandDefinition = ExpandBaseDefinition & NoMark;
/**
 * @name expand_root_only_node
 */
export type ExpandRootOnlyDefinition = ExpandBaseDefinition & MarksObject<BreakoutMarkDefinition>;
export declare const expandWithNestedExpand: import("prosemirror-model").NodeSpec;
export declare const expandWithNestedExpandLocalId: import("prosemirror-model").NodeSpec;
export declare const toJSON: (node: PMNode) => {
    attrs: import("prosemirror-model").Attrs;
};
