///
import util from 'util';
import { Nullable } from 'option-t/cjs/Nullable';
import { Requestor } from './Requestor';
import { GPhotosPhoto } from './GPhotosPhoto';
declare type GPhotosAlbumInfo = {
id: string;
type: 'album';
title?: string;
period?: {
from: Date;
to: Date;
};
itemsCount?: number;
isShared?: boolean;
};
declare class GPhotosAlbum {
id: string;
private info;
private requestor;
static parseInfo(data: any): GPhotosAlbumInfo;
constructor(info: GPhotosAlbumInfo, { requestor }: {
requestor: Requestor;
});
getInfo({ force }?: {
force: boolean;
}): Promise>;
append(...photoList: GPhotosPhoto[]): Promise;
remove(photo: GPhotosPhoto): Promise;
fetchPhotoList({ cursor, }: {
cursor: Nullable;
}): Promise<{
results: GPhotosPhoto[];
nextCursor: Nullable;
}>;
delete(): Promise;
toJSON(): GPhotosAlbumInfo;
toString(): string;
[util.inspect.custom](): string;
}
export { GPhotosAlbum };