/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { UseDecisionHandleResult } from './handle-runtime.js'; import type { ConstraintContract } from './contract.js'; import type { Decision } from './types.js'; export interface EvidenceFacetProps { decision: Decision; /** The host's `detail` canvas, already rendered by the queue. */ children?: React.ReactNode; } export declare const EvidenceFacet: import("react").MemoExoticComponent<({ decision, children }: EvidenceFacetProps) => import("react/jsx-runtime").JSX.Element>; export interface RankedOption { rank: number; label: string; value: number; downside: number | undefined; confidence: number | undefined; note: string | undefined; recommended: boolean; } /** * The Options facet's stack: the recommendation first, then its alternatives, * the greater value first — values compared as East compares them. * * @param d - The decision * @returns The ranked options */ export declare function rankOptions(d: Decision): RankedOption[]; export interface OptionsFacetProps { decision: Decision; /** Narrow hosts render the stacked meter-card layout. */ narrow?: boolean; } export declare const OptionsFacet: import("react").MemoExoticComponent<({ decision, narrow }: OptionsFacetProps) => import("react/jsx-runtime").JSX.Element>; export interface JudgementFacetProps { decision: Decision; handle: UseDecisionHandleResult; /** The solution's constraint contract, walked off the judgements binding; * `undefined` until its type is registered. */ contract: ConstraintContract | undefined; } export declare const JudgementFacet: import("react").MemoExoticComponent<({ decision, handle, contract }: JudgementFacetProps) => import("react/jsx-runtime").JSX.Element | null>; //# sourceMappingURL=facets.d.ts.map