import { Got } from 'got'; import { LanZouYClientOptions, FileInfo, ApiResponse, PathResponse, QiniupFileInfo, ShareUrlResponse, QiniupUpTokenRequest, LanZouYClientConfig, FileListParam, AppToken } from './types'; declare abstract class ALanZouYClient { readonly username: string; readonly password: string; readonly tokenStore: import("@netdrive-sdk/core").Store; readonly config: LanZouYClientConfig; readonly client: Got; private appTokenPromise; uuid?: string; constructor(config: LanZouYClientConfig, options: LanZouYClientOptions); login: () => Promise; getAppToken(): Promise; getUUid(): Promise; getFileList: (param?: FileListParam) => Promise; createFolder: (parentFolderId: string | number, folderName?: string, folderDesc?: string, pathList?: string[]) => Promise; move: (fileIds: string, folderIds: string, targetId: string) => Promise; deleteFile: (value: { folderIds?: string | number[]; fileIds?: string | number[]; }) => Promise; searchPath: (folderId: string) => Promise>; getQiniupUpToken: (request: QiniupUpTokenRequest) => Promise<{ upToken: string; map: { fileId: string; }; }>; getQiniupResults: (tokenList: string) => Promise; shareUrl: (fileId: string) => Promise; uploadFile(filePath: string, folderId?: number): Promise; userInfo(): Promise<{ map: { userId: number; account: string; usedSize: number; totalSize: number; }; }>; downloadFile(fileId: string, redirect?: boolean): Promise; ensureFolderPath(folderPath: string, parentFolderId?: number): Promise; } export declare class LanZouYClient extends ALanZouYClient { constructor(options: LanZouYClientOptions); } export declare class FeiJiPanClient extends ALanZouYClient { constructor(options: LanZouYClientOptions); } export {};