import type { Schema } from '@atlaskit/editor-prosemirror/model';
import { Slice } from '@atlaskit/editor-prosemirror/model';
import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
import type { ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
export declare const findExpand: (state: EditorState, selection?: Selection | null) => ContentNodeWithPos | undefined;
export declare const transformSliceToRemoveOpenExpand: (slice: Slice, schema: Schema) => Slice;
export declare const transformSliceToRemoveOpenNestedExpand: (slice: Slice, schema: Schema) => Slice;
export declare const transformSliceNestedExpandToExpand: (slice: Slice, schema: Schema) => Slice;
export declare const transformSliceExpandToNestedExpand: (slice: Slice) => Slice | null;
