import * as V from './index' import { DefaultData, DefaultProps, DefaultMethods, DefaultComputed, PropsDefinition } from './options' // Expose some types for backward compatibility... declare namespace Kdu { // kdu.d.ts export type CreateElement = V.CreateElement export type KduConstructor = V.KduConstructor // options.d.ts export type Component< Data = DefaultData, Methods = DefaultMethods, Computed = DefaultComputed, Props = DefaultProps > = V.Component export type AsyncComponent< Data = DefaultData, Methods = DefaultMethods, Computed = DefaultComputed, Props = DefaultProps > = V.AsyncComponent export type ComponentOptions< V extends Kdu, Data = DefaultData, Methods = DefaultMethods, Computed = DefaultComputed, PropsDef = PropsDefinition, Props = DefaultProps > = V.ComponentOptions export type FunctionalComponentOptions< Props = DefaultProps, PropDefs = PropsDefinition > = V.FunctionalComponentOptions export type RenderContext = V.RenderContext export type PropType = V.PropType export type PropOptions = V.PropOptions export type ComputedOptions = V.ComputedOptions export type WatchHandler = V.WatchHandler export type WatchOptions = V.WatchOptions export type WatchOptionsWithHandler = V.WatchOptionsWithHandler export type DirectiveFunction = V.DirectiveFunction export type DirectiveOptions = V.DirectiveOptions // plugin.d.ts export type PluginFunction = V.PluginFunction export type PluginObject = V.PluginObject // knode.d.ts export type KNodeChildren = V.KNodeChildren export type KNodeChildrenArrayContents = V.KNodeChildrenArrayContents export type KNode = V.KNode export type KNodeComponentOptions = V.KNodeComponentOptions export type KNodeData = V.KNodeData export type KNodeDirective = V.KNodeDirective } declare class Kdu extends V.default {} export = Kdu export as namespace Kdu