import { type GetApp } from "../../abstractions/index.js"; import { type WebinyConfigWatcher } from "../../features/Watch/watchers/WebinyConfigWatcher.js"; import { type PackagesWatcher } from "../../features/Watch/watchers/PackagesWatcher.js"; export interface IWatchNoAppParams { package?: string | string[]; function?: string | string[]; } export interface IWatchWithAppParams extends IWatchNoAppParams { app: GetApp.AppName; allowProduction?: boolean; deploymentChecks?: boolean; inspect?: boolean; increaseTimeout?: number; increaseHandshakeTimeout?: number; } export type IWatchParams = IWatchNoAppParams | IWatchWithAppParams; export type IWatchResult = { packagesWatcher: PackagesWatcher; webinyConfigWatcher?: WebinyConfigWatcher; }; export interface IWatch { execute(params: IWatchParams): Promise; } export declare const Watch: import("@webiny/di").Abstraction; export declare namespace Watch { type Interface = IWatch; type WatchNoAppParams = IWatchNoAppParams; type WatchWithAppParams = IWatchWithAppParams; type Params = IWatchParams; type Result = IWatchResult; }