import { Logger } from "tasmota-webserial-esptool";
import { FlashState } from "./const";
export declare const flash: (onEvent: (state: FlashState) => void, port: SerialPort, logger: Logger, manifestPath: string, eraseFirst: boolean, firmwareBuffer: Uint8Array) => Promise<void>;