import { ActionType } from 'typesafe-actions'; import { Maybe } from 'brookjs-types'; import { RC } from './RC'; import * as actions from './actions'; interface BaseState { rc: Maybe; cwd: string; env: string; coverage: boolean; watch: boolean; updateSnapshot: boolean; } export interface RunningState extends BaseState { status: 'running'; } export interface CompleteState extends BaseState { status: 'complete'; } export interface ErrorState extends BaseState { status: 'error'; } export declare type State = RunningState | CompleteState | ErrorState; export declare type Action = ActionType; export declare type Args = { coverage: boolean; watch: boolean; updateSnapshot: boolean; }; export {};