export declare const SERIALIZED_INSTRUMENTATION_STATE_KEYS: {
    readonly activeChannelDeliveries: "eve.activeChannelDeliveries";
    readonly actionScopes: "eve.harness.instrumentationActionScopes";
    readonly inputScopes: "eve.harness.instrumentationInputScopes";
    readonly providerState: "eve.harness.instrumentationState";
};
/** Keeps instrumentation state needed to settle operations opened by a discarded step. */
export declare function preserveSerializedInstrumentationState(original: Record<string, unknown>, interrupted: Record<string, unknown>): Record<string, unknown>;
/** Keeps only the observability state a retained background task needs before readiness. */
export declare function preserveSerializedBackgroundTaskObservabilityState(original: Record<string, unknown>, completed: Record<string, unknown>, tasks: readonly {
    readonly taskId: string;
}[]): Record<string, unknown>;
