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