import request from 'request'; /** * Extract file info from a URL. * * @param uri The URI to extract info from. * @param req Optional custom request function or null. * @returns File info. */ export declare function extract(uri: string, req?: typeof request | null): Promise<{ download: string; filename: string | null; }>;