UNPKG

creevey

Version:

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

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