import type { Surface } from '@fun-xyz/fiat-contract/types'; import type { IdentityAssertionProvider } from '../../domains/fiat/identityAssertion'; import type { FunLogger } from '../../utils/funLogger'; export declare const KYC_SDK_TOKEN_ENDPOINT: "POST /fiat/kyc/sdk-token"; export interface RenewCaptureSurfaceParams { apiKey: string; logger: FunLogger; quoteRef: string; } /** * A fresh capture surface for a quote already in `KYC{CAPTURE}`. * * - The one call the response does not drive: the endpoint is declared but * absent from `KYC/CAPTURE`'s `allowedTransitions`, so nothing advertises it. * - An SDK token expires in minutes, well inside a document capture, and a * client that cannot renew one strands the user on a dead screen. * - Delete this the moment the transition is published. */ export declare function renewCaptureSurface({ apiKey, logger, quoteRef }: RenewCaptureSurfaceParams, identityAssertionProvider: IdentityAssertionProvider | undefined): Promise; //# sourceMappingURL=kycSdkToken.d.ts.map