export type KycApplicantInput = {
  userId: string;
  email: string;
  firstName: string;
  lastName: string;
  country: string;
};

export interface KycProvider {
  key: string;
  createApplicant(input: KycApplicantInput): Promise<{ providerRef: string; status: "PENDING" }>;
  screenApplicant(input: KycApplicantInput): Promise<{
    amlScore: number;
    pepMatch: boolean;
    sanctionsMatch: boolean;
    countryRisk: string;
  }>;
  healthCheck(): Promise<{ ok: boolean; latencyMs: number; message?: string }>;
}
