UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

28 lines (27 loc) 676 B
import { CustomElementJson } from '../model/custom-element-json'; interface AIElementJson { version: number; name: string; image?: { mask?: { x: number; y: number; }[]; }; } declare class AIElement { name: string; imagePath: string; mask?: { x: number; y: number; }[] | undefined; constructor(name: string, imagePath: string, mask?: { x: number; y: number; }[] | undefined); static fromJson(json: AIElementJson, imagePath: string): AIElement; toCustomElement(): CustomElementJson; hasName(name: string): boolean; } export { AIElement, AIElementJson };