UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

6 lines (5 loc) 506 B
import type { QueryOptions } from '@tanstack/react-query'; import type { ExistingDocument } from '../../core/models/api/document'; import type { ComponentApiRequestContext } from '../../core/services/types'; export declare const getDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>; export declare const useGetDocument: (documentId: string, options?: QueryOptions<ExistingDocument>) => import("@tanstack/react-query").UseQueryResult<ExistingDocument, Error>;