import { ImageFragment, ResolvedImageItem, SdtMetadata } from '../../../../contracts/src/index.js';
import { FragmentRenderContext } from '../renderer.js';
import { BuildImageHyperlinkAnchor } from './types.js';
type RenderImageFragmentOptions = {
    doc: Document | null;
    fragment: ImageFragment;
    context: FragmentRenderContext;
    resolvedItem?: ResolvedImageItem;
    applyResolvedFragmentFrame: (el: HTMLElement, item: ResolvedImageItem, fragment: ImageFragment, section?: 'body' | 'header' | 'footer') => void;
    applyFragmentFrame: (el: HTMLElement, fragment: ImageFragment, section?: 'body' | 'header' | 'footer') => void;
    applyFragmentWrapperZIndex: (el: HTMLElement, fragment: ImageFragment) => void;
    applySdtDataset: (el: HTMLElement | null, metadata?: SdtMetadata | null) => void;
    applyContainerSdtDataset: (el: HTMLElement | null, metadata?: SdtMetadata | null) => void;
    buildImageHyperlinkAnchor: BuildImageHyperlinkAnchor;
    createErrorPlaceholder: (blockId: string, error: unknown) => HTMLElement;
};
export declare const buildImageGeometryTransform: (attrs: {
    width: number;
    height: number;
    rotation?: number;
    flipH?: boolean;
    flipV?: boolean;
}) => string;
export declare const applyImageGeometryTransform: (target: HTMLElement, attrs: {
    width: number;
    height: number;
    rotation?: number;
    flipH?: boolean;
    flipV?: boolean;
}) => void;
export declare const renderImageFragment: ({ doc, fragment, context, resolvedItem, applyResolvedFragmentFrame, applyFragmentFrame, applyFragmentWrapperZIndex, applySdtDataset, applyContainerSdtDataset, buildImageHyperlinkAnchor, createErrorPlaceholder, }: RenderImageFragmentOptions) => HTMLElement;
export {};
//# sourceMappingURL=image-fragment.d.ts.map