UNPKG

scriptable-testlab

Version:

A lightweight, efficient tool designed to manage and update scripts for Scriptable.

17 lines (14 loc) 432 B
import { AbsImage } from 'scriptable-abstract'; interface ImageMockState { size: Size; bytes: Data; } declare class MockImage extends AbsImage<ImageMockState> implements Image { constructor(); get size(): Size; getBytes(): Data; static fromData(data: Data): MockImage; static fromFile(_filePath: string): MockImage; static fromBase64String(base64String: string): MockImage; } export { MockImage };