import type { ComputedRef } from 'vue' // copy form vue core type DefaultFactory = ( props: Record ) => T | null | undefined interface PropOptions { type?: any required?: boolean default?: T | DefaultFactory | null | undefined | object validator?(value: unknown): boolean } export declare function defineProp( propName?: string, options?: PropOptions ): ComputedRef type MaybeTupleFunction = T extends any[] ? (...args: T) => R : T extends (...args: any) => any ? (...args: Parameters) => R : T export declare function defineEmit< T extends ((...args: any) => any) | any[] = any[] >( emitName?: string, validator?: MaybeTupleFunction ): MaybeTupleFunction