export interface ToDecisionOptions { positiveLabel?: string; negativeLabel?: string; } /** * Wrapper for inline boolean conditions to mark them as decision points. * During graph building, returns values from the decision plan to explore all branches. * * @example * ```typescript * // In a workflow: * if (await toDecision(amount > 10000, 'Is High Value?')) { * // high value path * } else { * // normal path * } * * // With custom labels: * if (await toDecision(isApproved, 'Manager Approval', { * positiveLabel: 'Approved', * negativeLabel: 'Rejected' * })) { * // approved path * } * ``` */ export declare function toDecision(condition: boolean | Promise, label: string, options?: ToDecisionOptions): Promise; //# sourceMappingURL=toDecision.d.ts.map