/// <reference types="node" />
import { Context } from 'koishi';
export declare function download(ctx: Context, url: string, directory?: string, fileName?: string, cacheTime?: number): Promise<Buffer>;
export declare function createDirIfNonExist(filepath: string): void;
