//#region src/withDefaultProps/index.d.ts /** * Merges props with defaults while preserving explicitly provided values. * * @typeParam TProps - Resulting props type. * @param props - Source props. * @param defaults - Defaults applied when a prop is `undefined`. * @returns A new object containing props with missing values filled from defaults. * * @example * ```tsx * const props = withDefaultProps( * { tone: undefined }, * { tone: 'neutral', size: 'md' }, * ); * ``` */ declare function withDefaultProps(props: Partial, defaults: Partial): TProps; //#endregion export { withDefaultProps }; //# sourceMappingURL=index.d.cts.map