import type{LyraEventDetailSnapshot}from'../../../internal/lyra-element.js';import{type TemplateResult}from'lit';import type{Citation,CitationSelectEventDetail,GroundedClaim}from'../../../ai/types.js';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraFrame}from'../../../internal/variants.js';import'../../overlays/badge/badge.class.js';import'../../overlays/empty/empty.class.js';import'../citation-badge/citation-badge.class.js';export interface LyraClaimEvidenceEventMap{'lr-claim-select':CustomEvent>;'lr-citation-select':CustomEvent>;} /** * `` — a controlled claim-by-claim grounding audit. It relates generated * claims to complete citation records, exposes assessment status/confidence, and tolerates * missing citation ids without fabricating evidence. * * Public collection sequences are bounded, frozen snapshots. Admitted claim and citation source * identities remain opaque while descriptor-safe projections copy the fields used for display and * lookup once; later rendering and events never reread a source record. Create a new collection * and reassign it after changes; mutating the assigned array does not update the view. Blank * claim/citation ids and later duplicates are ignored before lookup, rendering, counts, or * activation. The first record for an id wins. * A nested badge's `lr-citation-activate` is contained and translated to `lr-citation-select` with * the complete citation record. Its distinct `lr-citation-open` signal intentionally remains a * composed child event and crosses this host unchanged, preserving its `{ sourceId, index, href }` * detail for consumers that want the badge's richer open action. * * @customElement lr-claim-evidence * @event lr-claim-select - A claim was activated. `detail: { claim }`. * @event lr-citation-select - Evidence was activated. `detail: { citation }`. * @csspart base - The named claim-evidence region. * @csspart list - The claim list. * @csspart claim - One claim. * @csspart claim-selected - The selected claim. * @csspart claim-trigger - A claim's selection button. * @csspart status - The support-status badge. * @csspart claim-text - The claim text. * @csspart confidence - The optional localized confidence. * @csspart explanation - Caller-supplied assessment explanation. * @csspart evidence - Resolved evidence citations for one claim. * @csspart empty - The empty state. * @cssprop [--lr-claim-evidence-compact-padding=var(--lr-space-xs)] - `[part="claim-trigger"]` * padding while `compact`. * @cssprop [--lr-claim-evidence-compact-gap=var(--lr-space-xs)] - Gap between `[part="claim-trigger"]`'s * columns while `compact`. * @status stable * @since 7.0.0 */ export declare class LyraClaimEvidence extends LyraElement{protected static readonly ownedCollectionProperties:readonly string[]; /** Source records carry opaque caller fields returned by the public selection events. */ protected static readonly identityCollectionProperties:readonly string[];static styles:import("lit").CSSResultGroup[];protected static readonly immutableEventDetails:readonly string[]; /** Keep the admitted source opaque inside the otherwise frozen event envelope. */ protected static readonly identityEventDetailProperties:Readonly<{'lr-claim-select':readonly string[];'lr-citation-select':readonly string[];}>; /** Grounded claims rendered as the selectable evidence index. */ claims:readonly GroundedClaim[]; /** Citation records resolved by each claim's citation indexes. */ citations:readonly Citation[]; /** Controlled id of the claim whose evidence is expanded. */ selectedClaimId:string; /** Fallback name for the claim-and-evidence region. A non-empty host `aria-label` makes the host * the sole overall owner; an explicitly empty host label stays empty on the region. */ label:string; /** Tighter claim-trigger padding and column gap, for dense evidence lists -- same convention as * `lr-source-card`'s/`lr-entity-card`'s `compact`. Defaults to `false`, i.e. the full * claim-trigger padding. Purely a density knob: each claim's border and background stay, so use * `frame="plain"` to drop the chrome entirely. */ compact:boolean; /** Container treatment, in the shared `LyraFrame` vocabulary. `'card'` (the default) keeps each * claim's bordered, filled box. `'plain'` removes the border, background, and corner radius from * every `[part~="claim"]` row, so claims nested inside an already-bordered container (e.g. a * wider audit panel) don't double the frame. `plain` wins over `compact` when both are set * (nothing left to tighten). */ frame:LyraFrame;private readonly canonicalClaimsBySource;private readonly canonicalCitationsBySource;private canonicalRowsFor;private get normalizedClaims();private get normalizedCitations();private statusLabel;private confidenceLabel;private resolvedCitations;private renderClaim;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-claim-evidence':LyraClaimEvidence;}}