fuels
Version:
Fuel TS SDK
19 lines • 990 B
TypeScript
import type { FSWatcher } from 'chokidar';
import { type FuelsConfig } from '../../types';
import type { FuelCoreNode } from './autoStartFuelCore';
export declare const closeAllFileHandlers: (handlers: FSWatcher[]) => void;
export declare const buildAndDeploy: (config: FuelsConfig) => Promise<{
contracts: import("../../types").DeployedContract[];
scripts: import("../../types").DeployedScript[];
predicates: import("../../types").DeployedPredicate[];
}>;
export declare const getConfigFilepathsToWatch: (config: FuelsConfig) => string[];
export type DevState = {
config: FuelsConfig;
watchHandlers: FSWatcher[];
fuelCore?: FuelCoreNode;
};
export declare const workspaceFileChanged: (state: DevState) => (_event: string, path: string) => Promise<void>;
export declare const configFileChanged: (state: DevState) => (_event: string, path: string) => Promise<void>;
export declare const dev: (config: FuelsConfig) => Promise<void>;
//# sourceMappingURL=index.d.ts.map