/// import { Weapp } from './weapp'; declare type RecordToAny = { [K in keyof T]: any; }; declare type RecordToReturn = { [P in keyof T]: T[P] extends (...args: any[]) => any ? ReturnType : T[P]; }; export declare type CombinedComponentInstance = Methods & WechatMiniprogram.Component.TrivialInstance & Weapp.FormField & { data: Data & RecordToReturn & RecordToAny; }; export interface VantComponentOptions { data?: Data; field?: boolean; classes?: string[]; mixins?: string[]; props?: Props & Weapp.PropertyOption; watch?: Weapp.WatchOption; computed?: Computed & Weapp.ComputedOption; relation?: Weapp.RelationOption & { name: string; }; relations?: { [componentName: string]: Weapp.RelationOption; }; methods?: Methods & Weapp.MethodOption; beforeCreate?: (this: Instance) => void; created?: (this: Instance) => void; mounted?: (this: Instance) => void; destroyed?: (this: Instance) => void; } export {};