import { MaybeRef } from 'vue'; import { ComponentProps } from 'vue-component-type-helpers'; import { Data, MaybePick } from '../types/utils.js'; /** * The computed value is an object, that only contains properties that are defined by the target component. * Is useful to forward only a matching subset of properties from a parent component to a wrapped child component. * * This is necessary when the parent defines props, which are not defined in the child component. * Otherwise, the child component will set the extraneous props as attributes, which bloats the DOM and can lead to unexpected side-effects. * * @example * * ```vue * * * ``` * * @param props The reactive props object of the parent component. * @param target Component for which the properties are to be forwarded. * @returns computed value with properties that are also defined the target component. */ export declare const useForwardProps: , R = MaybePick>(props: MaybeRef, target: TComponent) => import('vue').ComputedRef;