|
| 1 | +declare const _default: import('vue').DefineComponent< |
| 2 | + __VLS_WithDefaults< |
| 3 | + __VLS_TypePropsToRuntimeProps<{ |
| 4 | + url: string |
| 5 | + lineWidth?: number | undefined |
| 6 | + lineCap?: ('butt' | 'round' | 'square') | undefined |
| 7 | + lineColor?: string | undefined |
| 8 | + samplingRate?: number | undefined |
| 9 | + cursorWidth?: number | undefined |
| 10 | + cursorColor?: string | undefined |
| 11 | + maskColor?: string | undefined |
| 12 | + lazy?: boolean | Ref<boolean> | undefined |
| 13 | + skeleton?: boolean | Ref<boolean> | undefined |
| 14 | + skeletonColor?: string | undefined |
| 15 | + interact?: boolean | Ref<boolean> | undefined |
| 16 | + }>, |
| 17 | + { |
| 18 | + lineWidth: number |
| 19 | + lineCap: string |
| 20 | + lineColor: string |
| 21 | + cursorWidth: number |
| 22 | + cursorColor: string |
| 23 | + samplingRate: number |
| 24 | + maskColor: string |
| 25 | + lazy: boolean |
| 26 | + skeleton: boolean |
| 27 | + skeletonColor: string |
| 28 | + interact: boolean |
| 29 | + } |
| 30 | + >, |
| 31 | + { |
| 32 | + play: () => void |
| 33 | + pause: () => void |
| 34 | + replay: () => void |
| 35 | + getCurrentTime: () => string |
| 36 | + getDuration: () => string |
| 37 | + }, |
| 38 | + unknown, |
| 39 | + {}, |
| 40 | + {}, |
| 41 | + import('vue').ComponentOptionsMixin, |
| 42 | + import('vue').ComponentOptionsMixin, |
| 43 | + ( |
| 44 | + | 'onInit' |
| 45 | + | 'onFetched' |
| 46 | + | 'onReady' |
| 47 | + | 'onPlay' |
| 48 | + | 'onPause' |
| 49 | + | 'onFinish' |
| 50 | + | 'onClick' |
| 51 | + )[], |
| 52 | + | 'onInit' |
| 53 | + | 'onFetched' |
| 54 | + | 'onReady' |
| 55 | + | 'onPlay' |
| 56 | + | 'onPause' |
| 57 | + | 'onFinish' |
| 58 | + | 'onClick', |
| 59 | + import('vue').VNodeProps & |
| 60 | + import('vue').AllowedComponentProps & |
| 61 | + import('vue').ComponentCustomProps, |
| 62 | + Readonly< |
| 63 | + import('vue').ExtractPropTypes< |
| 64 | + __VLS_WithDefaults< |
| 65 | + __VLS_TypePropsToRuntimeProps<{ |
| 66 | + url: string |
| 67 | + lineWidth?: number | undefined |
| 68 | + lineCap?: ('butt' | 'round' | 'square') | undefined |
| 69 | + lineColor?: string | undefined |
| 70 | + samplingRate?: number | undefined |
| 71 | + cursorWidth?: number | undefined |
| 72 | + cursorColor?: string | undefined |
| 73 | + maskColor?: string | undefined |
| 74 | + lazy?: boolean | Ref<boolean> | undefined |
| 75 | + skeleton?: boolean | Ref<boolean> | undefined |
| 76 | + skeletonColor?: string | undefined |
| 77 | + interact?: boolean | Ref<boolean> | undefined |
| 78 | + }>, |
| 79 | + { |
| 80 | + lineWidth: number |
| 81 | + lineCap: string |
| 82 | + lineColor: string |
| 83 | + cursorWidth: number |
| 84 | + cursorColor: string |
| 85 | + samplingRate: number |
| 86 | + maskColor: string |
| 87 | + lazy: boolean |
| 88 | + skeleton: boolean |
| 89 | + skeletonColor: string |
| 90 | + interact: boolean |
| 91 | + } |
| 92 | + > |
| 93 | + > |
| 94 | + > & { |
| 95 | + onOnInit?: ((...args: any[]) => any) | undefined |
| 96 | + onOnFetched?: ((...args: any[]) => any) | undefined |
| 97 | + onOnReady?: ((...args: any[]) => any) | undefined |
| 98 | + onOnPlay?: ((...args: any[]) => any) | undefined |
| 99 | + onOnPause?: ((...args: any[]) => any) | undefined |
| 100 | + onOnFinish?: ((...args: any[]) => any) | undefined |
| 101 | + onOnClick?: ((...args: any[]) => any) | undefined |
| 102 | + }, |
| 103 | + { |
| 104 | + lineWidth: number |
| 105 | + lineCap: 'butt' | 'round' | 'square' |
| 106 | + lineColor: string |
| 107 | + samplingRate: number |
| 108 | + cursorWidth: number |
| 109 | + cursorColor: string |
| 110 | + maskColor: string |
| 111 | + lazy: boolean | Ref<boolean> |
| 112 | + skeleton: boolean | Ref<boolean> |
| 113 | + skeletonColor: string |
| 114 | + interact: boolean | Ref<boolean> |
| 115 | + } |
| 116 | +> |
| 117 | +export default _default |
| 118 | +type __VLS_NonUndefinedable<T> = T extends undefined ? never : T |
| 119 | +type __VLS_TypePropsToRuntimeProps<T> = { |
| 120 | + [K in keyof T]-?: {} extends Pick<T, K> |
| 121 | + ? { |
| 122 | + type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>> |
| 123 | + } |
| 124 | + : { |
| 125 | + type: import('vue').PropType<T[K]> |
| 126 | + required: true |
| 127 | + } |
| 128 | +} |
| 129 | +type __VLS_WithDefaults<P, D> = { |
| 130 | + [K in keyof Pick<P, keyof P>]: K extends keyof D |
| 131 | + ? P[K] & { |
| 132 | + default: D[K] |
| 133 | + } |
| 134 | + : P[K] |
| 135 | +} |
0 commit comments