export declare class Pixiv { readonly BASE_API: string; private accessEndTime; private readonly client; private hosts; private renewAuth; private additionalHeaders; private requestsKwargs; private headless; constructor(options?: { hosts?: string; autoRenewAuth?: boolean; cacheTimeMs?: number; }); login(username: string, password: string): Promise; login(refreshToken: string): Promise; login(cookies: string, userAgent: string): Promise; logout(): Promise; private webAuth; private auth; }