import { d as SizeWithUnit, f as SizingMode, s as Rect, t as FloatWithUnit, u as SizeWithAspect } from "./sdcCoreCommonGeometry-Bxvlllkc.js"; import { n as ImagePlane } from "./sdcCoreCommonGraphic-hFLsxC6K.js"; //#region src/main/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts interface SizeWithUnitAndAspect { getWidthAndHeight(): SizeWithUnit | undefined; getWidthWithAspect(): SizeWithAspect | undefined; getHeightWithAspect(): SizeWithAspect | undefined; getShorterDimensionWithAspect(): SizeWithAspect | undefined; getSizingMode(): SizingMode; toJson(): string; } interface SizeWithUnitAndAspect_statics { createWithWidthAndHeight(widthAndHeight: SizeWithUnit): SizeWithUnitAndAspect; createWithWidthAndAspectRatio(width: FloatWithUnit, aspectRatio: number): SizeWithUnitAndAspect; createWithHeightAndAspectRatio(height: FloatWithUnit, aspectRatio: number): SizeWithUnitAndAspect; createWithShorterDimensionAndAspectRatio(fraction: number, aspectRatio: number): SizeWithUnitAndAspect; } interface ImageBuffer { deepCopy(): ImageBuffer; getWidth(): number; getHeight(): number; getPlanes(): Array; toBitmap(): Uint8Array; toBase64Png(): string; getBitmapRepresentationFromYUV(imageCrop: Rect): Uint8Array; } declare enum BitmapByteOrder { RGBA = 0, BGRA = 1 } interface BitmapWithFormat { data: Uint8Array; byteOrder: BitmapByteOrder; } interface ImageConverterInstance { convertToJpeg(imageBuffer: ImageBuffer, orientation: number): Promise; convertToBitmap(imageBuffer: ImageBuffer): BitmapWithFormat; } interface ImageConverter {} interface ImageConverter_statics { setInstance(instance: ImageConverterInstance): void; getInstance(): ImageConverterInstance; } interface SdcCoreInternalSdkCommonGeometry_statics { SizeWithUnitAndAspect: SizeWithUnitAndAspect_statics; ImageConverter: ImageConverter_statics; } //#endregion export { ImageConverterInstance as a, SizeWithUnitAndAspect as c, ImageConverter as i, SizeWithUnitAndAspect_statics as l, BitmapWithFormat as n, ImageConverter_statics as o, ImageBuffer as r, SdcCoreInternalSdkCommonGeometry_statics as s, BitmapByteOrder as t };