@tplc/wot
Version:
88 lines (87 loc) • 2.27 kB
TypeScript
import type { CSSProperties } from 'vue'
import type { SkeletonRowCol } from './types'
declare const _default: __VLS_WithTemplateSlots<
import('vue').DefineComponent<
{
theme: {
type: import('vue').PropType<'image' | 'text' | 'avatar' | 'paragraph'>
default: 'image' | 'text' | 'avatar' | 'paragraph'
}
rowCol: {
type: import('vue').PropType<SkeletonRowCol[]>
default: () => never[]
}
loading: {
type: BooleanConstructor
default: boolean
}
animation: {
type: import('vue').PropType<'gradient' | 'flashed'>
default: string
}
customClass: {
type: (StringConstructor | ArrayConstructor | ObjectConstructor)[]
default: string
}
customStyle: {
type: import('vue').PropType<CSSProperties>
default(): {}
}
},
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<{
theme: {
type: import('vue').PropType<'image' | 'text' | 'avatar' | 'paragraph'>
default: 'image' | 'text' | 'avatar' | 'paragraph'
}
rowCol: {
type: import('vue').PropType<SkeletonRowCol[]>
default: () => never[]
}
loading: {
type: BooleanConstructor
default: boolean
}
animation: {
type: import('vue').PropType<'gradient' | 'flashed'>
default: string
}
customClass: {
type: (StringConstructor | ArrayConstructor | ObjectConstructor)[]
default: string
}
customStyle: {
type: import('vue').PropType<CSSProperties>
default(): {}
}
}>
>,
{
customStyle: CSSProperties
customClass: string | Record<string, any> | unknown[]
loading: boolean
theme: 'image' | 'text' | 'avatar' | 'paragraph'
animation: 'gradient' | 'flashed'
rowCol: SkeletonRowCol[]
},
{}
>,
{
default?(_: {}): any
}
>
export default _default
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S
}
}