@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) • 323 B
TypeScript
import type { Attachment, PageType } from '../../core/models/api/attachment';
import type { Document } from '../../core/models/api/document';
export declare const getPage: ({ attachments }: Document, pageType?: PageType) => Attachment;
export declare const getPageName: (document: Document, pageType?: PageType) => string;