import type { ComponentType } from 'react'; export interface ProjectWrapperComponent { } export declare const isStateless: (Component: ComponentType) => boolean; /** * wrap the component with high order component to support * component default props, it can be used to specify project * specific styling * * @param defaultProps * @param ComponentHolder */ declare const applyDefaults: (defaultProps: Record, ComponentHolder: ComponentType) => ProjectWrapperComponent; export default applyDefaults; /** * merge new props to default props, * if the default prop is array or object, merge them * or override default * * @param defaultProps * @param newProps */ export declare const mergeProps: (defaultProps: any, newProps: any) => any;