import type { ArkmeContactSearchResult, ArkmeMyVoiceprint, ArkmeRecognizedPersonDetail, ArkmeRecognizedPersonIdentityKind, ArkmeRecognizedPersonPage, ArkmeRecognizedVoiceprintLibrary, ArkmeVoiceprintGrantPage, ArkmeVoiceprintInvitation } from '../types.js'; import { type ArkmeVoiceprintEnrollmentClient } from './voiceprint-enrollment-client.js'; import { type ArkmeVoiceprintRecorder } from './voiceprint-recorder.js'; export type ArkmeVoiceprintResource = { status: 'loading'; } | { status: 'error'; message: string; } | { status: 'success'; value: T; message?: string; }; export type ArkmeVoiceprintInvitationState = { status: 'idle'; } | { status: 'busy'; } | { status: 'error'; message: string; } | { status: 'success'; value: ArkmeVoiceprintInvitation; }; export interface ArkmeVoiceprintContentProps { status: ArkmeVoiceprintResource; grants: ArkmeVoiceprintResource; people: ArkmeVoiceprintResource; invitation: ArkmeVoiceprintInvitationState; onRefreshStatus(): void; onRefreshGrants(): void; onRefreshPeople(): void; onMoreGrants?(): void; onMorePeople?(): void; revokingGrantRef?: string; restoreBusy?: boolean; onInvite(): void; onRevoke(grantRef: string, displayName: string): void; onRestore(): void; onOpenPerson(personRef: string, identityKind: ArkmeRecognizedPersonIdentityKind): void; onStartEnrollment(): void; } export declare function ArkmeVoiceprintContent(props: ArkmeVoiceprintContentProps): import("react").JSX.Element; export declare function RecognizedPersonDialog({ person, library, targetIdentifier, targetContact, invitation, onRetryPerson, onRetryLibrary, onTargetIdentifierChange, onSearchTarget, onInvite, onClose, }: { person: ArkmeVoiceprintResource; library?: ArkmeVoiceprintResource; targetIdentifier: string; targetContact?: ArkmeVoiceprintResource; invitation: ArkmeVoiceprintInvitationState; onRetryPerson(): void; onRetryLibrary(): void; onTargetIdentifierChange(value: string): void; onSearchTarget(): void; onInvite(): void; onClose(): void; }): import("react").JSX.Element; export declare function ArkmeVoiceprintSurface({ onBack, recorderFactory, enrollmentClient, }?: { onBack?: () => void; recorderFactory?: () => ArkmeVoiceprintRecorder; enrollmentClient?: ArkmeVoiceprintEnrollmentClient; }): import("react").JSX.Element; //# sourceMappingURL=ArkmeVoiceprintSurface.d.ts.map