import { BenchmarkApiResponse, FaceApiErrorPayload, FaceApiSuccessPayload } from '../model/types.js'; export interface FaceApiResponse { ok: boolean; status: number; data: T | null; } export interface FaceProfile { external_user_id: string; created_at: string; } export interface FaceRequestOpts { signal?: AbortSignal; idempotencyKey?: string; } interface FaceApiClientOptions { baseUrl?: string; } /** * Scanner API client. * * Accepts a per-instance `baseUrl` so embedded SDK mounts do not mutate * shared module state. If omitted, it falls back to the demo app environment. */ export declare class FaceApiClient { private readonly headers; private readonly apiKey; private readonly baseUrl?; constructor(apiKey: string, options?: FaceApiClientOptions); private request; private payload; register(externalUserId: string, imageBase64: string, fas: boolean, opts?: FaceRequestOpts & { detailMode?: boolean; }): Promise>; authenticate(externalUserId: string, imageBase64: string, fas: boolean, opts?: FaceRequestOpts & { detailMode?: boolean; }): Promise>; listProfiles(opts?: FaceRequestOpts): Promise>; benchmark(imageBase64: string, externalUserId: string | null, opts?: FaceRequestOpts): Promise>; deleteProfile(externalUserId: string, opts?: FaceRequestOpts): Promise>; purgeAll(opts?: FaceRequestOpts): Promise>; lookupUser(externalUserId: string, opts?: FaceRequestOpts): Promise; validate(opts?: FaceRequestOpts): Promise; } export interface MlStatus { active_model_id: string; active_model: { model_id: string; version: string; supports_tta: boolean; } | null; benchmark_enabled: boolean; benchmark_models: string[]; detail_mode_default: boolean; } export declare function getMlStatus(opts?: { baseUrl?: string; signal?: AbortSignal; }): Promise; export declare function getFaceClientBaseUrl(baseUrl?: string): string; export {}; //# sourceMappingURL=face-client.d.ts.map