import "./sources.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; export type SourceKind = "record" | "document" | "table" | "web" | "knowledge"; export interface SourceRef { id: string; label: string; kind?: SourceKind; /** "page 2", a record code, a column. */ detail?: string; } export interface SourcesProps extends StyleProps { sources: SourceRef[]; /** Default "Sources"; `null` for chips only, as inside a `Change`. */ label?: string | null; /** Makes chips openable with a hover state and open glyph; the host navigates. */ onOpen?: (source: SourceRef) => void; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** Where AI output came from, as chips under a generated answer, summary or extracted value; provenance * makes it verifiable. Nothing for an empty list. */ export declare function Sources(props: SourcesProps): React.ReactElement> | null;