import { ParaFragment, ResolvedFragmentItem, SdtMetadata } from '../../../../contracts/src/index.js';
import { SdtBoundaryOptions } from '../sdt/container.js';
import { BetweenBorderInfo } from './borders/index.js';
import { ParagraphRenderLineInput } from './renderParagraphContent.js';
type ApplyStyles = (el: HTMLElement, styles: Partial<CSSStyleDeclaration>) => void;
type RenderParagraphFragmentParams = {
    doc: Document | null;
    fragment: ParaFragment;
    sdtBoundary?: SdtBoundaryOptions;
    betweenInfo?: BetweenBorderInfo;
    resolvedItem?: ResolvedFragmentItem;
    applyStyles: ApplyStyles;
    applyResolvedFragmentFrame: (el: HTMLElement, item: ResolvedFragmentItem, fragment: ParaFragment) => void;
    applyFragmentFrame: (el: HTMLElement, fragment: ParaFragment) => void;
    applySdtDataset: (el: HTMLElement | null, metadata?: SdtMetadata | null) => void;
    applyContainerSdtDataset: (el: HTMLElement | null, metadata?: SdtMetadata | null) => void;
    renderLine: (input: ParagraphRenderLineInput) => HTMLElement;
    captureLineSnapshot: (lineEl: HTMLElement, options?: {
        sourceAnchor?: ResolvedFragmentItem['sourceAnchor'];
        wrapperEl?: HTMLElement;
    }) => void;
    createErrorPlaceholder: (blockId: string, error: unknown) => HTMLElement;
    contentControlsChrome?: 'default' | 'none';
};
export declare const renderParagraphFragment: (params: RenderParagraphFragmentParams) => HTMLElement;
export {};
//# sourceMappingURL=renderParagraphFragment.d.ts.map