flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
16 lines (15 loc) • 397 B
TypeScript
import { HttpRequestFetch, KeyValue } from "../interfaces";
export interface probeImageResponse {
headers: KeyValue;
statusCode: number;
url: string;
length: number;
imageData: probeImageData;
}
export declare type probeImageData = {
width: number;
height: number;
type: string;
mimeType: string;
};
export declare const fetchImageWithNeedle: HttpRequestFetch;