import { ComponentPublicInstance, ComputedRef } from 'vue'; import { default as VsForm } from './VsForm.vue'; declare module 'vue' { interface GlobalComponents { VsForm: typeof VsForm; } } export type { VsForm }; export interface VsFormRef extends ComponentPublicInstance { valid: ComputedRef; changed: ComputedRef; clear: () => void; reset: () => void; validate: () => Promise; }