import type { FontMetrics, GlyphExtents, ShapedRun, ShapeRunOptions, TextFormat } from '@flighthq/types/contract'; export declare function clearShapedRun(run: ShapedRun): ShapedRun; export declare function createShapedRun(): ShapedRun; export declare function getCodePointForGlyph(glyphId: number, _format: Readonly): number; export declare function getFontMetrics(format: Readonly): FontMetrics | null; export declare function getFontMetricsInto(format: Readonly, out: FontMetrics): boolean; export declare function getFontUnitScale(format: Readonly): number; export declare function getGlyphExtents(glyphId: number, _format: Readonly): GlyphExtents | null; export declare function getGlyphExtentsBatch(glyphIds: ReadonlyArray, _format: Readonly, out: GlyphExtents[]): number; export declare function getGlyphExtentsInto(glyphId: number, _format: Readonly, out: GlyphExtents): boolean; export declare function getGlyphIndexForCodePoint(codePoint: number, _format: Readonly): number; export declare function getGlyphName(glyphId: number, _format: Readonly): string; export declare function shapeTextRun(text: string, format: Readonly, options?: ShapeRunOptions): ShapedRun | null; export declare function shapeTextRunInto(text: string, format: Readonly, out: ShapedRun, options?: ShapeRunOptions): boolean; //# sourceMappingURL=textShaperRun.d.ts.map