/**
 * WorkbookWriter - Node.js Streaming Excel Writer
 *
 * Extends base with file path support and file system image loading.
 */
import { WorksheetWriter } from "./worksheet-writer.js";
import { WorkbookWriterBase, type WorkbookWriterOptions as BaseOptions, type ZipOptions, type ZlibOptions } from "./workbook-writer.browser.js";
export type { ZipOptions, ZlibOptions };
export interface WorkbookWriterOptions extends BaseOptions {
    /** If stream not specified, this field specifies the path to a file to write the XLSX workbook to */
    filename?: string;
}
interface OutputStreamLike {
    emit(eventName: string | symbol, ...args: any[]): boolean;
    write(chunk: any): boolean | Promise<boolean>;
    end(): void;
    once(eventName: string | symbol, listener: (...args: any[]) => void): this;
    removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
}
declare class WorkbookWriter extends WorkbookWriterBase<WorksheetWriter> {
    constructor(options?: WorkbookWriterOptions);
    /**
     * Create output stream - supports filename option in Node.js
     */
    protected _createOutputStream(options: WorkbookWriterOptions): OutputStreamLike;
    /**
     * Add media files - supports loading from file system
     */
    addMedia(): Promise<void[]>;
}
export { WorkbookWriter };
