/// import util from 'util'; import { CookieJar } from 'tough-cookie'; import { Nullable } from 'option-t/cjs/Nullable'; import { GPhotosPhoto } from './GPhotosPhoto'; import { GPhotosAlbum } from './GPhotosAlbum'; declare type LoginParams = { username: string; password: string; }; declare class GPhotos { private requestor; constructor(); setCookieJar(jar: CookieJar): void; signin(params: LoginParams): Promise; fetchAlbumoById({ id }: { id: string; }): Promise; fetchAlbumList({ cursor, }: { cursor: Nullable; }): Promise<{ results: GPhotosAlbum[]; nextCursor: Nullable; }>; searchAlbum({ title }: { title: string; }): Promise>; createAlbum({ title }: { title: string; }): Promise; private createAlbumLegacyFallback; fetchPhotoById({ id }: { id: string; }): Promise; fetchPhotoList({ cursor, }: { cursor: Nullable; }): Promise<{ results: GPhotosPhoto[]; nextCursor: Nullable; }>; upload({ stream, size, filename, }: { stream: NodeJS.ReadableStream; size: number; filename: string; }): Promise; toJSON(): {}; toString(): string; [util.inspect.custom](): string; } export { GPhotos };