import { default as React } from 'react';
import { AppropriatenessOutcome, WorkflowResultType } from '../types';
export interface VeroComplianceProps {
/** Override company detection from the token. When true, shows the company form. */
isCompany?: boolean;
/** Called when the entire workflow completes */
onComplete?: (result: WorkflowResultType) => void;
/** Called when an error occurs */
onError?: (error: Error) => void;
/** Called after the applicant is created (before the workflow starts) */
onApplicantCreated?: (applicantId: number) => void;
/**
* Called when the appropriateness test concludes, with the canonical outcome
* (Passed / FailedExhausted / FailedContinued — ADR-0039 D3). Additive; optional.
*/
onAppropriatenessOutcome?: (outcome: AppropriatenessOutcome) => void;
className?: string;
}
/**
* Unified VeroCompliance component.
*
* Automatically determines what to display based on the session token:
* - If no applicant exists for the token's ExternalRefId → shows the create form
* - If an applicant exists but has no progress (skeleton) → shows the create form (pre-filled)
* - If an applicant has active progress → shows the KYC workflow
* - If finished or on-hold → shows the status display (handled inside KycWorkflow)
*
* Usage:
* ```tsx
* token }}>
* console.log(result)} />
*
* ```
*/
export declare const VeroCompliance: React.FC;
//# sourceMappingURL=VeroCompliance.d.ts.map