UNPKG

@percy/agent

Version:

An agent process for integrating with Percy.

19 lines (18 loc) 601 B
import { Configuration } from '../configuration/configuration'; import BuildService from './build-service'; import SnapshotService from './snapshot-service'; export declare class AgentService { buildService: BuildService; snapshotService: SnapshotService | null; private readonly app; private readonly publicDirectory; private snapshotCreationPromises; private server; private buildId; constructor(); start(configuration: Configuration): Promise<void>; stop(): Promise<void>; private handleSnapshot; private handleStop; private handleHealthCheck; }