declare type Style = { [key in keyof CSSStyleDeclaration]?: string } export interface Component { class?: string style?: Style dimmable?: boolean } export type SvanticProps = { class?: string style?: Style dimmable?: boolean } export type SvanticEvents = { mount: CustomEvent } export type MountEvent = { mount: CustomEvent } export default Component // declare type Event = HTMLElementEventMap[keyof HTMLElementEventMap]