@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) • 553 B
TypeScript
import { type MutationOptions } from '@tanstack/react-query';
import type { ComponentApiRequestContext } from '../../core/services/types';
import type { ExistingDocument } from '../../core/models/api/document';
export declare const deleteDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
export declare const useDeleteDocument: (options?: Omit<MutationOptions<ExistingDocument, Error, string>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ExistingDocument, Error, string, unknown>;