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.

6 lines (5 loc) 477 B
import type { QueryOptions } from '../types'; import type { IndustryCodesResponse } from './industryCodes.types'; export type BusinessLineType = 'acquiring' | 'issuing' | 'banking'; export type QueryKeyIndustryCodes = ['industryCodes', string, string]; export declare const useIndustryCodes: (businessLineTypes: BusinessLineType[], locale: string, options?: QueryOptions<IndustryCodesResponse>) => import("@tanstack/preact-query").UseQueryResult<IndustryCodesResponse, Error>;