import koffi from 'koffi'; import { BitmapHandle, Bool, DeviceContextHandle, DoubleWord, Int, LongPointerToVoid, UnsignedInt } from '../@types'; import { IBitmapInfo } from '../@types/bitmap-info'; export declare const BitBltSync: koffi.KoffiFunc<(hdc: DeviceContextHandle, x: Int, y: Int, cx: Int, cy: Int, hrdSrc: DeviceContextHandle, x1: Int, y1: Int, rop: DoubleWord) => boolean>; export declare const CreateCompatibleDCSync: koffi.KoffiFunc<(deviceContextHandle: DeviceContextHandle) => DeviceContextHandle>; export declare const CreateCompatibleBitmapSync: koffi.KoffiFunc<(deviceContextHandle: DeviceContextHandle, width: Int, height: Int) => BitmapHandle>; export declare const GetDIBitsSync: koffi.KoffiFunc<(hdc: DeviceContextHandle, hbitmap: BitmapHandle, start: UnsignedInt, cLines: UnsignedInt, lpvBits: LongPointerToVoid | Buffer | Uint8Array, lpbi: IBitmapInfo, usage: UnsignedInt) => Int>; export declare const SelectObjectSync: koffi.KoffiFunc<(deviceContextHandle: DeviceContextHandle, bitmapHandle: BitmapHandle) => BitmapHandle>; export declare const DeleteObjectSync: koffi.KoffiFunc<(bitmapHandle: BitmapHandle) => Bool>; export declare const DeleteDCSync: koffi.KoffiFunc<(deviceContextHandle: DeviceContextHandle) => Bool>; export declare const BitBlt: (hdc: DeviceContextHandle, x: Int, y: Int, cx: Int, cy: Int, hrdSrc: DeviceContextHandle, x1: Int, y1: Int, rop: DoubleWord) => Promise; export declare const CreateCompatibleDC: (deviceContextHandle: DeviceContextHandle) => Promise; export declare const CreateCompatibleBitmap: (deviceContextHandle: DeviceContextHandle, width: Int, height: Int) => Promise; export declare const GetDIBits: (hdc: DeviceContextHandle, hbitmap: BitmapHandle, start: UnsignedInt, cLines: UnsignedInt, lpvBits: LongPointerToVoid | Uint8Array | Buffer, lpbi: IBitmapInfo, usage: UnsignedInt) => Promise; export declare const SelectObject: (deviceContextHandle: DeviceContextHandle, bitmapHandle: BitmapHandle) => Promise; export declare const DeleteObject: (bitmapHandle: BitmapHandle) => Promise<(false & { __jsType?: boolean | undefined; [Symbol.species]?: "BOOL" | undefined; }) | (true & { __jsType?: boolean | undefined; [Symbol.species]?: "BOOL" | undefined; })>; export declare const DeleteDC: (deviceContextHandle: DeviceContextHandle) => Promise<(false & { __jsType?: boolean | undefined; [Symbol.species]?: "BOOL" | undefined; }) | (true & { __jsType?: boolean | undefined; [Symbol.species]?: "BOOL" | undefined; })>;