export declare function filterByExtension(file: { path: string; }, extension: string): boolean; declare const responseFormatters: { readonly json: (res: Response) => Promise; readonly text: (res: Response) => Promise; readonly blob: (res: Response) => Promise; }; interface ParseResponseOptions { expectingOk?: boolean; format?: keyof typeof responseFormatters; apiName?: string; } export declare function parseResponse(res: Response, { expectingOk, format, apiName }: ParseResponseOptions): Promise>>; export declare function responseParser(options: { expectingOk?: boolean; format: T; apiName: string; }): (res: Response) => Promise Promise; readonly text: (res: Response) => Promise; readonly blob: (res: Response) => Promise; }[T]>>>; export declare function parseLinkHeader(header: string | null): any; export declare function getAllResponses(url: string, options: { headers?: {} | undefined; } | undefined, linkHeaderRelName: string, nextUrlProcessor: (url: string) => string): Promise; export declare function getPathDepth(path: string): number; export {};