import type { NestedStackTemplates, RootTemplateWithNestedStacks, Template } from '../cloudformation'; /** * Read the cached hotswap state and hydrate it into a full * RootTemplateWithNestedStacks by reading fresh generatedTemplates from disk. * Returns undefined if no cache exists. */ export declare function readHotswapTemplateCache(assemblyDir: string, stackName: string, newRootTemplate: Template): Promise; /** * Cache the current hotswap state after a successful deployment. * The synthesized templates become the new "deployed" baseline. */ export declare function writeHotswapTemplateCache(assemblyDir: string, stackName: string, rootTemplate: Template, nestedStacks: { [logicalId: string]: NestedStackTemplates; }): Promise; /** * Invalidate the hotswap cache for a stack (e.g. after a full CloudFormation deploy). */ export declare function invalidateHotswapTemplateCache(assemblyDir: string, stackName: string): Promise; //# sourceMappingURL=hotswap-template-cache.d.ts.map