import type { ADFEntity } from '@atlaskit/adf-utils/types';
import type { Schema } from '@atlaskit/editor-prosemirror/model';
/**
 * Promotes `panel` nodes to `panel_c1` wherever their content makes them invalid
 * as a standard `panel` but valid as a `panel_c1` (e.g. when a panel contains a table).
 *
 * Useful for insertion paths where content is being inserted as ADF and we want to
 * use the standard panel type where possible, but upgrade when required by the content.
 */
export declare function transformContainerNodesWhenRequired(adf: ADFEntity, schema: Schema): {
    isTransformed: boolean;
    transformedAdf: ADFEntity | false;
};
