declare const name = "s-alert"; declare const props: { type: "error" | "info" | "success" | "warning"; }; declare const Alert_base: { new (): { type: "error" | "info" | "success" | "warning"; } & {} & { addEventListener(type: K, listener: (this: { type: "error" | "info" | "success" | "warning"; } & {} & /*elided*/ any & HTMLElement, ev: {}[K]) => any, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: { type: "error" | "info" | "success" | "warning"; } & {} & /*elided*/ any & HTMLElement, ev: {}[K]) => any, options?: boolean | EventListenerOptions): void; } & HTMLElement; readonly define: (name: string) => void; prototype: HTMLElement; }; declare class Alert extends Alert_base { } export { Alert }; declare global { interface HTMLElementTagNameMap { [name]: Alert; } namespace React { namespace JSX { interface IntrinsicElements { [name]: React.DetailedHTMLProps, HTMLElement> & Partial; } } } } declare module 'vue' { import { HTMLAttributes } from 'vue'; interface GlobalComponents { [name]: new () => { /** * @deprecated **/ $props: HTMLAttributes & Partial; } & Alert; } } declare module 'vue/jsx-runtime' { namespace JSX { interface IntrinsicElements { [name]: IntrinsicElements['div'] & Partial; } } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { [name]: JSX.HTMLAttributes & Partial; } } } declare module 'preact' { namespace JSX { interface IntrinsicElements { [name]: JSXInternal.HTMLAttributes & Partial; } } }