import { HotPatcher } from "hot-patcher";
import { PosixPathFileItem } from "./requests/getDirectoryContents.js";
import { FileItem, FileTreeNode } from "./util/directoryContents.js";
export declare class GoogleDriveClient {
    patcher: HotPatcher;
    private __cache;
    private __token;
    constructor(token: string);
    createDirectory(name: string, parentID?: string): Promise<string>;
    deleteFile(id: string): Promise<void>;
    getDirectoryContents(tree: false): Promise<Array<FileItem>>;
    getDirectoryContents(tree: true): Promise<FileTreeNode>;
    getFileContents(id: string): Promise<string>;
    mapDirectoryContents(path: string): Promise<Array<PosixPathFileItem>>;
    putFileContents(contents: string, id: null, name: string, parentID?: string): Promise<string>;
    putFileContents(contents: string, id: string): Promise<string>;
}
