import type { Got } from 'got'; import type { ConvertImageResponse } from '../types/index.js'; /** * Converts a JPG or PNG image to monochrome bitmap format for printing * * The Memobird API requires images to be in monochrome bitmap format. * This endpoint converts standard JPG/PNG images to the required format. * * @param client - Got HTTP client instance * @param ak - Access Key * @param imgBase64String - JPG or PNG image as Base64 string * @returns Promise resolving to converted image response * @throws {APIError} If API returns error response * @throws {NetworkError} If network request fails * * @example * ```typescript * const jpgBase64 = '...'; // Your JPG image * const response = await convertToMonochrome(client, ak, jpgBase64); * const monochromeBase64 = response.result; * // Now use monochromeBase64 for printing * ``` */ export declare function convertToMonochrome(client: Got, ak: string, imgBase64String: string): Promise; //# sourceMappingURL=image.d.ts.map