/** * Browser-based image download for wiki sync. * * When copying docs across wiki spaces, the API media download returns 403. * This module downloads images via Playwright browser session using Feishu's * internal CDN, which uses session cookies for auth. * * Browser state is cached for headless reuse across sessions. */ import type { ImageData } from "../wiki/block-copy.js"; export declare function closeBrowser(): Promise; /** * Pre-download all images from source blocks via browser session. * Returns an ImageCache map: { file_token → { bytes, width, height, align, scale } } */ export declare function prefetchImages(sourceBlocks: Record[], sourceNodeToken: string, opts?: { verbose?: boolean; browserState?: string; }): Promise>; //# sourceMappingURL=image-transfer.d.ts.map