import type { ArkmeUserProfile } from '../types.js'; export type ArkmeCallMediaType = 'audio' | 'video'; export interface ArkmeCallTranscriptLine { id: string; speaker: string; speakerRole: 'self' | 'peer'; atSeconds: number; endSeconds: number; text: string; } export interface ArkmeCallHistoryItem { id: string; peerName: string; peerRelationship: string; initials: string; avatarBackground: string; avatarUrl: string; direction: 'incoming' | 'outgoing'; mediaType: ArkmeCallMediaType; startedLabel: string; durationSeconds: number; summary: string; missed?: boolean; transcript: ArkmeCallTranscriptLine[]; } export declare const ARKME_CALL_DEMO_ITEMS: ArkmeCallHistoryItem[]; export declare function filterCallHistoryItems(items: ArkmeCallHistoryItem[], query: string, mediaFilter: 'all' | ArkmeCallMediaType): ArkmeCallHistoryItem[]; export declare function resolveSelectedCall(items: ArkmeCallHistoryItem[], selectedId: string): ArkmeCallHistoryItem | undefined; export interface ArkmeCallContact { sourceRef: string; displayName: string; avatarRef?: string; } export declare function ArkmeCallHistoryRow({ item, selected, playing: _playing, onSelect, onTogglePlayback }: { item: ArkmeCallHistoryItem; selected: boolean; playing: boolean; onSelect(): void; onTogglePlayback(): void; }): import("react").JSX.Element; export declare function transcriptToPreviewSeconds(item: ArkmeCallHistoryItem, transcriptSeconds: number): number; export declare function formatCallTranscriptClock(startedLabel: string, offsetSeconds: number): string; export declare function profileShareUrl(arkmeId: string): string; export declare function callInviteUrl(arkmeId: string, mediaType: ArkmeCallMediaType): string; export declare function profileQrDataUrl(arkmeId: string): string; export declare function ArkmeAddContactPage({ profile, contacts, assetBasePath, onBack, onSelectContact }: { profile: ArkmeUserProfile | null | undefined; contacts?: ArkmeCallContact[]; assetBasePath?: string; onBack(): void; onSelectContact?(contact: ArkmeCallContact): void; }): import("react").JSX.Element; export declare function ArkmeCallHistorySurface({ assetBasePath, contacts }?: { assetBasePath?: string; contacts?: ArkmeCallContact[]; }): import("react").JSX.Element; //# sourceMappingURL=ArkmeCallHistorySurface.d.ts.map