import 'reflect-metadata'; import { type DecisionMetadata } from '../types.js'; export interface DecisionOptions { positiveLabel?: string; negativeLabel?: string; } /** * Decorator to mark an activity as a decision point. * Decision activities must return boolean and will trigger * branch exploration during graph building. * * @example * ```typescript * class MyActivities { * @Decision() * async isHighValue(amount: number): Promise { * return amount > 10000; * } * * @Decision({ positiveLabel: 'Approved', negativeLabel: 'Rejected' }) * async checkApproval(): Promise { * return true; * } * } * ``` */ export declare function Decision(options?: DecisionOptions): MethodDecorator; /** * Check if a method on an object is marked as a decision */ export declare function isDecision(obj: object, methodName: string): boolean; /** * Get decision metadata for a method */ export declare function getDecisionMetadata(obj: object, methodName: string): DecisionMetadata | undefined; //# sourceMappingURL=decision.d.ts.map