/// /// import "isomorphic-fetch"; export declare const uploadDoc: (fileName: any, fileBuffer: any, filePath?: string) => Promise; export interface UpdateDocOptions { onAttemptError?: (info: any) => void; } export declare const updateDocById: (itemId: string, fileName: string, fileBuffer: Buffer, options?: UpdateDocOptions) => Promise; export declare const downloadDoc: (fileId: any) => Promise; export declare const downloadDoc2: (fileId: string) => Promise; export declare const createViewLink: (fileId: any, options?: {}) => Promise; export declare const createEditLink: (fileId: any, options?: {}) => Promise; export declare const removeLink: (fileId: any, linkId: string) => Promise; export declare const permanentDelete: (fileId: any, driveId: any) => Promise;