UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

5 lines (4 loc) 391 B
import type { QueryOptions } from '../../../types'; import type { Document, DocumentDetail } from '../../core/models/api/document'; export type QueryKeyDocuments = ['documents', string, string]; export declare const useDocuments: (documentDetails: DocumentDetail[], entityId: string, options?: QueryOptions<Document[]>) => import("@tanstack/preact-query").UseQueryResult<Document[], Error>;