import type { Driver, DriverWriter, WriterOptions } from "./driver.js";
export declare class Writer {
    #private;
    constructor(drv: Driver, key: string, cancel: () => void, contentMD5: Uint8Array, writer: DriverWriter | null, ctx: AbortSignal | null, opts: WriterOptions | null);
    write(data?: Uint8Array | null): Promise<number>;
    close(): Promise<void>;
}
