import type { PDFPageProxy } from '../pdf.js/src/display/api';
import type { AnnotationData } from './AnnotationData';
import type { SvgRoot } from './Svg';
import { type TextLayerRoot } from './TextLayer';
export declare function createTextLayerV2(page: PDFPageProxy, { graphics, annotations: _annotations, }?: {
    graphics?: SvgRoot;
    annotations?: AnnotationData[];
}): Promise<TextLayerRoot>;
