import { Node } from '@atlaskit/editor-prosemirror/model'; import type { Schema } from '@atlaskit/editor-prosemirror/model'; import type { DispatchAnalyticsEvent } from '../analytics'; import type { ProviderFactory } from '../provider-factory'; import type { ReplaceRawValue, Transformer } from '../types'; /** * Converts a raw ADF value into a ProseMirror `Node` without running full ADF validation. * * Applies the relevant document transforms (nested tables, sync block and panel_c1 fallbacks, * container node nesting) before building the node directly from the resulting JSON. * * @param schema - The ProseMirror schema to build the node against. * @param value - The raw ADF value (string or object) to process. * @param dispatchAnalyticsEvent - Optional callback used to report transform analytics. * @returns The resulting ProseMirror `Node`, or `undefined` when no value is provided or parsing fails. */ export declare function processRawValueWithoutValidation(schema: Schema, value?: ReplaceRawValue, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Node | undefined; /** * Converts a raw ADF value into a validated ProseMirror `Node`. * * Applies document transforms and validates the resulting ADF against the schema, tracking any * unsupported content and optionally sanitizing private content before building the node. * * @param schema - The ProseMirror schema to build and validate the node against. * @param value - The raw ADF value (string or object) to process. * @param providerFactory - Optional provider factory used during validation/sanitization. * @param sanitizePrivateContent - When `true`, private content is stripped from the document. * @param contentTransformer - Optional transformer used to parse string content into ADF. * @param dispatchAnalyticsEvent - Optional callback used to report transform/validation analytics. * @returns The resulting ProseMirror `Node`, or `undefined` when no value is provided or processing fails. */ export declare function processRawValue(schema: Schema, value?: ReplaceRawValue, providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Node | undefined; export { processRawFragmentValue } from './processRawFragmentValue';