twdl
Version:
Downloads image and video tweets from Twitter
8 lines (7 loc) • 526 B
TypeScript
import { Response, Options } from 'got';
import { AllOptions } from './options.js';
export declare function writeCache(response: Response, twdlOptions?: Partial<AllOptions>): Response<unknown>;
export declare function readCache(requestOptions: Options, twdlOptions?: Partial<AllOptions>): Response<unknown>;
export declare function dumpCache(): Promise<void>;
export declare function reloadCache(twdlOptions?: Partial<AllOptions>): Promise<void>;
export declare function getCacheName(options: Options): string | false;