import { SlotProps } from '@dropins/tools/types/elsie/src/lib'; import { activeComponentType } from './authCombine.types'; import { InLineAlertInterface } from './notification.types'; type DefaultSlotContext = { isSuccessful: { userName: string; status: boolean; }; }; export interface SignInProps { slots?: { Form?: SlotProps; Title?: SlotProps; SuccessNotification?: SlotProps; Buttons?: SlotProps; }; labels?: Record; formSize?: 'default' | 'small'; renderSignUpLink?: boolean; initialEmailValue?: string; enableEmailConfirmation?: boolean; hideCloseBtnOnEmailConfirmation?: boolean; routeRedirectOnEmailConfirmationClose?: () => string; routeForgotPassword?: () => string; routeSignUp?: () => string; routeRedirectOnSignIn?: () => string; onSuccessCallback?: (value?: { userName: string; status: boolean; }) => Promise; onErrorCallback?: (error?: unknown) => void; onSignUpLinkClick?: () => void; apiErrorMessageOverride?: string; } export interface SignInFormProps extends SignInProps { setActiveComponent?: (componentName: activeComponentType) => void; } export interface useSignInFormProps extends Omit { handleSetInLineAlertProps: (value?: InLineAlertInterface) => void; emailConfirmationStatusMessage?: { text: string; status: '' | 'success' | 'error'; }; translations: Record; } export {}; //# sourceMappingURL=signIn.types.d.ts.map