import { DefineComponent } from 'vue'; import { HTMLAttributes } from 'svelte/elements'; export interface SelectProps { /** Current value */ value: string; /** Label when no value is selected, placeholder */ 'default-label'?: string; onInput?: (e: CustomEvent) => void; children?: any; } declare module 'vue' { interface GlobalComponents { 'pyro-select': DefineComponent; } } interface PyroSelectPreact extends Omit, SelectProps { } declare module 'preact/jsx-runtime' { namespace JSX { interface IntrinsicElements { 'pyro-select': PyroSelectPreact; } } } interface PyroSelectSvelte extends Omit, keyof SelectProps>, SelectProps { } declare module 'svelte/elements' { interface SvelteHTMLElements { 'pyro-select': PyroSelectSvelte; } } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'pyro-select': PyroSelectPreact; } } } export {};