export interface ModalInterface { data?: any; submit: (data: any) => void; close: () => void; }