import React from 'react';
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
import type { EditorAnalyticsAPI } from '../analytics';
import { type GuidelineConfig } from '../guideline';
import { type EditorContainerWidth, type getPosHandlerNode } from '../types';
type BreakoutSupportedNodes = 'layoutSection' | 'expand' | 'codeBlock';
export declare const ignoreResizerMutations: (mutation: MutationRecord | {
    target: Node;
    type: "selection";
}) => boolean;
type BreakoutResizerProps = {
    disabled?: boolean;
    displayGapCursor: (toggle: boolean) => boolean;
    displayGuidelines?: (guidelines: GuidelineConfig[]) => void;
    dynamicFullWidthGuidelineOffset?: number;
    editorAnalyticsApi?: EditorAnalyticsAPI;
    editorView: EditorView;
    getEditorWidth: () => EditorContainerWidth | undefined;
    getPos: getPosHandlerNode;
    getRef?: (ref: HTMLElement | null) => void;
    hidden?: boolean;
    nodeType: BreakoutSupportedNodes;
    onResizeStart?: () => void;
    parentRef?: HTMLElement;
};
/**
 * BreakoutResizer is a common component used to resize nodes that support the 'Breakout' mark, so it requires
 * correct ADF support.
 *
 * use experiment platform_editor_advanced_layouts
 * @param root0
 * @param root0.editorView
 * @param root0.nodeType
 * @param root0.getPos
 * @param root0.getRef
 * @param root0.disabled
 * @param root0.getEditorWidth
 * @param root0.parentRef
 * @param root0.displayGuidelines
 * @param root0.editorAnalyticsApi
 * @param root0.displayGapCursor
 * @param root0.onResizeStart
 * @param root0.dynamicFullWidthGuidelineOffset
 * @param root0.hidden Hide the resizer handles without outright unrendering them
 * @returns BreakoutResizer component
 * @example
 */
declare const BreakoutResizer: ({ editorView, nodeType, getPos, getRef, disabled, getEditorWidth, parentRef, displayGuidelines, editorAnalyticsApi, displayGapCursor, onResizeStart, dynamicFullWidthGuidelineOffset, hidden, }: BreakoutResizerProps) => React.JSX.Element;
export { BreakoutResizer };
