/** * Fired on the {@link Engine} when a workflow's search attributes are updated * via `engine.setAttributes` or `ctx.setAttribute`. Read `e.changes` for the * map of attribute keys to their new values. * * @example * ```ts * import { Engine, AttributesChangedEvent } from '@lostgradient/weft'; * * const engine = new Engine(); * engine.addEventListener(AttributesChangedEvent.type, (event) => { * console.log('attributes changed for', event.workflowId, event.changes); * }); * ``` */ export declare class AttributesChangedEvent extends Event { static readonly type: "attributes:changed"; readonly workflowId: string; readonly changes: Record; constructor(workflowId: string, changes: Record); }