import { Fragment, Schema } from 'prosemirror-model';
import { SDFragment } from '../../../../../../document-api/src/index.js';
/** The write operation being performed — determines capability permissions. */
export type SDWriteOp = 'insert' | 'replace' | 'mutate';
/**
 * Materializes an SDFragment into a ProseMirror Fragment.
 *
 * @param schema - The editor's ProseMirror schema
 * @param fragment - The structural content to materialize
 * @param existingDocIds - IDs already in the document (for duplicate detection)
 * @param operation - The write operation being performed ('insert' | 'replace' | 'mutate')
 * @param options - Materialization options (e.g., rawMode for field nodes)
 * @returns A ProseMirror Fragment containing the materialized nodes
 */
export declare function materializeFragment(schema: Schema, fragment: SDFragment, existingDocIds?: ReadonlySet<string>, operation?: SDWriteOp, options?: {
    rawMode?: boolean;
}): Fragment;
//# sourceMappingURL=node-materializer.d.ts.map