export declare const baseURL = "http://api.tutorial.fmlg1688.cn";
interface UploadParams {
    file: File;
    repo: string;
    packet?: number;
    onProgress?: any;
}
export declare const uploadFile: ({ file, repo, packet, onProgress, }: UploadParams) => Promise<{
    link: string;
}>;
export declare const uploadUrl: (url: string, repo: string, packet?: number) => Promise<any>;
export {};
