UNPKG

creevey

Version:

Cross-browser screenshot testing tool for Storybook with fancy UI Runner

10 lines (9 loc) 408 B
import { CreeveyUpdate, CreeveyStatus } from '../../types'; export interface CreeveyClientApi { start: (ids: string[]) => void; stop: () => void; approve: (id: string, retry: number, image: string) => void; onUpdate: (fn: (update: CreeveyUpdate) => void) => () => void; readonly status: Promise<CreeveyStatus>; } export declare function initCreeveyClientApi(): Promise<CreeveyClientApi>;