/**
* Global component type augmentation for @wolf-tui/vue.
*
* Add this reference to your project's env.d.ts or shims-vue.d.ts
* to enable Volar/vue-tsc to recognize Wolfie components in templates:
*
* @example
* ```ts
* ///
* ```
*
* Or import it in your main entry file:
* @example
* ```ts
* import '@wolf-tui/vue/global'
* ```
*/
import type { DefineComponent } from 'vue'
import type {
BoxProps,
TextProps,
NewlineProps,
StaticProps,
TransformProps,
AlertProps,
BadgeProps,
SpinnerProps,
StatusMessageProps,
ProgressBarProps,
OrderedListProps,
UnorderedListProps,
TextInputProps,
PasswordInputProps,
EmailInputProps,
ConfirmInputProps,
SelectProps,
SelectOptionProps,
MultiSelectProps,
MultiSelectOptionProps,
ErrorOverviewProps,
} from './build/index.js'
//#region Component Type Definitions
type BoxComponent = DefineComponent
type TextComponent = DefineComponent
type NewlineComponent = DefineComponent
type SpacerComponent = DefineComponent>
type StaticComponent = DefineComponent>
type TransformComponent = DefineComponent
type AlertComponent = DefineComponent
type BadgeComponent = DefineComponent
type SpinnerComponent = DefineComponent
type StatusMessageComponent = DefineComponent
type ProgressBarComponent = DefineComponent
type OrderedListComponent = DefineComponent & {
Item: DefineComponent<{ children?: unknown }>
}
type UnorderedListComponent = DefineComponent & {
Item: DefineComponent<{ children?: unknown }>
}
type TextInputComponent = DefineComponent
type PasswordInputComponent = DefineComponent
type EmailInputComponent = DefineComponent
type ConfirmInputComponent = DefineComponent
type SelectComponent = DefineComponent
type SelectOptionComponent = DefineComponent
type MultiSelectComponent = DefineComponent
type MultiSelectOptionComponent = DefineComponent
type ErrorOverviewComponent = DefineComponent
//#endregion Component Type Definitions
declare module '@vue/runtime-core' {
export interface GlobalComponents {
//#region Core
Box: BoxComponent
Text: TextComponent
//#endregion Core
//#region Static Output
Newline: NewlineComponent
Spacer: SpacerComponent
Static: StaticComponent
Transform: TransformComponent
//#endregion Static Output
//#region Display
Alert: AlertComponent
Badge: BadgeComponent
Spinner: SpinnerComponent
StatusMessage: StatusMessageComponent
ProgressBar: ProgressBarComponent
//#endregion Display
//#region Lists
OrderedList: OrderedListComponent
UnorderedList: UnorderedListComponent
//#endregion Lists
//#region Input
TextInput: TextInputComponent
PasswordInput: PasswordInputComponent
EmailInput: EmailInputComponent
ConfirmInput: ConfirmInputComponent
Select: SelectComponent
SelectOption: SelectOptionComponent
MultiSelect: MultiSelectComponent
MultiSelectOption: MultiSelectOptionComponent
//#endregion Input
//#region Error
ErrorOverview: ErrorOverviewComponent
//#endregion Error
}
}
export {}