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