import type React from 'react'; import type { AuthenticatorMachineOptions } from '@aws-amplify/ui'; import type { DefaultContainerComponent } from './common'; import type { Components } from './Defaults'; type SupportedAuthenticatorMachineOptions = Omit< AuthenticatorMachineOptions, // `formFields` prop in RWA is to be deprecated 'formFields' >; export interface AuthenticatorProps extends SupportedAuthenticatorMachineOptions { children?: React.ReactNode; Container?: DefaultContainerComponent; Footer?: React.ComponentType; Header?: React.ComponentType; components?: Components; } export type WithAuthenticatorOptions = Omit;