UNPKG

@promptbook/anthropic-claude

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

24 lines (23 loc) 836 B
import type { ChatParticipant } from '../types/ChatParticipant'; import type { CitationLabelResolver } from '../types/CitationLabelResolver'; import type { ParsedCitation } from '../utils/parseCitationsFromContent'; import type { ChatSoundSystem } from './ChatProps'; /** * Props for the citation preview modal. * * @private component of `<Chat/>` */ export type ChatCitationModalProps = { isOpen: boolean; citation: ParsedCitation | null; participants: ReadonlyArray<ChatParticipant>; resolveCitationLabel?: CitationLabelResolver; soundSystem?: ChatSoundSystem; onClose: () => void; }; /** * Modal that previews a citation source or excerpt. * * @private component of `<Chat/>` */ export declare function ChatCitationModal(props: ChatCitationModalProps): import("react/jsx-runtime").JSX.Element | null;