import { TApiConfig } from '../types'; export type TUploadResponse = { code: string; message: string; data: TUploadData; }; export type TUploadData = { url: string; type: string; id: string | null; name: string; size: number; width: number; height: number; }; /** * @description 改用媒體庫上傳 * @param apiConfig * @returns */ export declare const uploadWP: (apiConfig: TApiConfig) => (file: File) => Promise;