import { Rect } from "../Ave"; import { PixFormat } from "../Image"; import { InMemoryData, ResourceSource } from "../Io/IoCommon"; import { WindowLike } from "../Ui/Control/UiWindow"; export declare enum Byo2ImageDataType { Coded = 0, Raw = 1 } export declare class Byo2ImageCreation { DataType: Byo2ImageDataType; Data: ResourceSource; Width: number; Height: number; Format: PixFormat; } export interface IByo2Image { new (window: WindowLike, cp: Byo2ImageCreation): IByo2Image; GetWidth(): number; GetHeight(): number; Upload(rc: Rect, data: InMemoryData): void; } declare const Byo2Image_base: IByo2Image; export declare class Byo2Image extends Byo2Image_base { } export {};