import type { FileSectionReference } from '@xrpl/ai-core'; import { type ReactElement } from 'react'; import type { PromptLoadingState } from './usePrompt.js'; interface ReferenceProps { getHref?: (reference: FileSectionReference) => string | undefined; getLabel?: (reference: FileSectionReference) => string | undefined; reference: FileSectionReference; index: number; transformReferenceId?: (referenceId: string) => { href: string; text: string; }; onDidSelectReference?: () => void; } export declare const Reference: (props: ReferenceProps) => ReactElement; interface ReferencesProps { loadingText?: string; heading?: string; getHref?: (reference: FileSectionReference) => string | undefined; getLabel?: (reference: FileSectionReference) => string | undefined; transformReferenceId?: (referenceId: string) => { href: string; text: string; }; onDidSelectReference?: () => void; references: FileSectionReference[]; state: PromptLoadingState; } declare const References: (props: ReferencesProps) => ReactElement | null; export { References }; //# sourceMappingURL=References.d.ts.map