import { Download } from 'playwright';
/**
 * Handles file download lifecycle from the browser.
 */
export declare class DownloadHandler {
    private static downloadDir;
    /**
     * Saves a Playwright Download object to the local temp directory.
     * Returns the absolute path of the saved file.
     */
    static capture(download: Download): Promise<string>;
    /**
     * Cleans up a temporary file.
     */
    static cleanup(filePath: string): void;
}
