import type { Attributes, CommonAttributes } from 'mithril'; import type {Response} from 'redaxios'; export type ErrorResponse = Response<{errors: Record}>; export type JSXElement = Omit, 'children' | 'style'> & CommonAttributes & { children?: JSX.Element | JSX.Element[] | Attributes | Attributes[], style?: string | CSSStyleDeclaration };