import type { SourceExportConfig } from "../types/config.js"; import { BridgeClient } from "../source/bridge-client.js"; export interface PluginDownloadTask { nodeId: string; nodeName: string; canonicalName: string; outputPath: string; settings: SourceExportConfig; } export interface PluginDownloadResult { task: PluginDownloadTask; outputPath: string; contentHash: string; sizeBytes: number; width?: number; height?: number; } export declare class PluginAssetDownloader { private readonly bridge; constructor(bridge: BridgeClient); downloadAssets(expectedFileKey: string, tasks: PluginDownloadTask[], onProgress?: (current: number, total: number) => void): Promise; preflight(expectedFileKey: string, task: Omit): Promise; private validateResult; private validateIdentity; private assertImageSignature; }