UNPKG

fuels

Version:

Fuel TS SDK

13 lines 640 B
import { type FSWatcher } from 'chokidar'; import type { FuelsConfig } from '../../types'; import type { FuelCoreNode } from '../dev/autoStartFuelCore'; export type NodeState = { config: FuelsConfig; watchHandlers: FSWatcher[]; fuelCore?: FuelCoreNode; }; export declare const getConfigFilepathsToWatch: (config: FuelsConfig) => string[]; export declare const closeAllFileHandlers: (handlers: FSWatcher[]) => void; export declare const configFileChanged: (state: NodeState) => (_event: string, path: string) => Promise<void>; export declare const node: (config: FuelsConfig) => Promise<void>; //# sourceMappingURL=index.d.ts.map