import type { DOMAttributes } from 'react'; import type { DefineComponent } from 'vue'; import type { IndividualSchema } from '../../components/Individual/forms/Individual.types'; import type { BaseEmbedProps } from '../baseEmbedProps'; export interface AdyenIndividualConfigurationProps extends BaseEmbedProps { /** Invoked when form has been completed by user */ oncomplete?(data: IndividualSchema): void; /** Defaults to inline. If modal is selected Component shows as modal */ view?: 'modal' | 'inline'; /** Invoked only when view='modal', triggers when user clicks the close modal button */ onclose?(): void; } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'adyen-individual-configuration': AdyenIndividualConfigurationProps; } } } type CustomElement = Partial & { children: any; }>; declare global { namespace JSX { interface IntrinsicElements { 'adyen-individual-configuration': CustomElement; } } namespace preact.JSX { interface IntrinsicElements { 'adyen-individual-configuration': AdyenIndividualConfigurationProps; } } } declare module 'react/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'adyen-individual-configuration': AdyenIndividualConfigurationProps; } } } declare module 'vue' { interface GlobalComponents { 'adyen-individual-configuration': DefineComponent; } } export {};