UNPKG

flagpole

Version:

Simple and fast DOM integration, headless or headful browser, and REST API testing framework.

16 lines (15 loc) 615 B
import { ProtoResponse } from "./response"; import { ResponseType } from "./enums"; import { iResponse } from "./interfaces"; import { HttpResponse } from './httpresponse'; import { CSSRule } from './cssrule'; export declare class CssResponse extends ProtoResponse implements iResponse { protected css: any; get responseTypeName(): string; get responseType(): ResponseType; init(httpResponse: HttpResponse): void; evaluate(context: any, callback: Function): Promise<any>; find(path: string): Promise<CSSRule>; findAll(path: string): Promise<CSSRule[]>; protected validate(): void; }