export declare function onFlowStart(flowId: string): void; /** * Compare each owner's count at flow-start vs now. Owners that grew by * more than `leakItemThreshold` and didn't shrink are flagged. Returns * the list of flagged owner ids (also useful for tests). */ export declare function onFlowSettled(flowId: string): string[]; export declare function checkStaleGeneration(args: { logicalId: string; instanceId: string; generation: number; retainedBytes: number; }): boolean;