import type { ADFEntity } from '@atlaskit/adf-utils/types';
import type { ErrorCallbackOptions, Validate, ValidationError } from '@atlaskit/adf-utils/validatorTypes';
import type { Schema } from '@atlaskit/editor-prosemirror/model';
export declare const UNSUPPORTED_NODE_ATTRIBUTE = "unsupportedNodeAttribute";
import type { UnsupportedContentPayload } from './unsupportedContent/types';
export type DispatchAnalyticsEvent = (event: UnsupportedContentPayload) => void;
export declare const validationErrorHandler: (entity: ADFEntity, error: ValidationError, options: ErrorCallbackOptions, marks: string[], validate: Validate, dispatchAnalyticsEvent?: DispatchAnalyticsEvent) => ADFEntity | {
    attrs: {
        originalValue: ADFEntity;
    };
    type: string;
} | undefined;
export declare const validateADFEntity: (schema: Schema, node: ADFEntity, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, validationOverrides?: {
    allowNestedTables?: boolean;
    allowTableInPanel?: boolean;
}) => ADFEntity;
export { wrapWithUnsupported } from './wrapWithUnsupported';
