import { AbstractWatcherConfig } from './AbstractWatcherConfig'; /** * File watcher config */ export interface FileWatcherConfig extends AbstractWatcherConfig { type: 'file'; name: string; path: string; recursive?: boolean; event?: string; task?: { names: string[]; params?: any; }; } /** * Whether or not some object has a parameter named params * * @param something Some object */ export declare function hasPath(something: object): something is { path: unknown; }; /** * Whether or not some object has a parameter named params * * @param something Some object */ export declare function hasRecursive(something: object): something is { recursive: boolean; }; /** * Whether or not a watcher base config is a file watcher config * * @param something A watcher base config */ export declare function isFileWatcherConfig(something: AbstractWatcherConfig): something is FileWatcherConfig;