export interface SumsubKycSurfaceProps { accessToken: string; /** Drawn to match the host, rather than the SDK's own light default. */ scheme: 'light' | 'dark'; /** * Mints a replacement token. The SDK's own expires in minutes — well inside * a document capture — and it asks for a new one rather than failing. */ onRenewToken: () => Promise; /** The applicant's checks are in; the round can be reported. */ onSubmitted: () => void; onFailed: (code: string) => void; } /** * Sumsub's WebSDK, hosted in a WebView. * * The document is ours and the token is injected into it, so the SDK never * arrives over a URL a response chose — `params` carries a credential, not a * page to open. */ export declare function SumsubKycSurface({ accessToken, scheme, onRenewToken, onSubmitted, onFailed, }: SumsubKycSurfaceProps): import("react").JSX.Element; //# sourceMappingURL=SumsubKycSurface.d.ts.map