import { Config } from "../config/index.js"; import { Bus } from "./Bus.js"; declare module "./Bus" { interface Events { "stacks.deployed": { metadata: any[]; stacksData: any; }; } } declare type Events = { type: "FILE_CHANGE"; } | { type: "TRIGGER_DEPLOY"; } | { type: "BUILD_SUCCESS"; }; declare type Context = { dirty: boolean; deployedHash: string; pendingHash: string; }; export declare function useStacksBuilder(root: string, bus: Bus, config: Config, cdkOptions: any, deployFunc: any, initialStacksData: any): import("xstate").Interpreter; export {};