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<RootTemplateWithNestedStacks | undefined>;
/**
 * 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<void>;
/**
 * Invalidate the hotswap cache for a stack (e.g. after a full CloudFormation deploy).
 */
export declare function invalidateHotswapTemplateCache(assemblyDir: string, stackName: string): Promise<void>;
//# sourceMappingURL=hotswap-template-cache.d.ts.map