import { DefineComponent, VNodeProps } from 'vue'; import { ComponentProps } from 'vue-component-type-helpers'; type RawProps = VNodeProps & { __v_isVNode?: never; [Symbol.iterator]?: never; } & Record; interface MountingOptions { /** * Default props for the component */ props?: (RawProps & Props) | ({} extends Props ? null : never) | ((attrs: Record) => (RawProps & Props)); /** * Pass attributes into the component */ attrs?: Record; } export declare function withDefault any) | (new (...args: any) => any) ? T : T extends { props?: infer Props; } ? DefineComponent | (infer PropNames)[] ? { [key in PropNames extends string ? PropNames : string]?: any; } : Props> : DefineComponent, P extends ComponentProps = ComponentProps>(originalComponent: T, options?: MountingOptions

): T; export {};