export type Files = Record; export interface PublishOption { domain: string; files: Files; onProgress?: (data: { id: string; progress: number; file: string; }) => void; onTick?: (tick: string) => void; } export type UploadOption = Pick & { target: string; fileCount: number; projectSize: number; };