import React from 'react'; export declare type DeepPartial = { [P in keyof T]?: T[P] extends Record ? DeepPartial : T[P]; }; export declare const tuple: (...args: T) => T; export declare type ComponentPassThrough = Props & React.ComponentPropsWithoutRef & { /** Element or component that will be used as root element */ component?: T; }; export declare type As = React.ElementType; /** * Extract the props of a React element or component */ export declare type PropsOf = React.ComponentPropsWithoutRef & { as?: As; }; export declare type OmitCommonProps = Omit; export declare type RightJoinProps = OmitCommonProps & OverrideProps; export declare type MergeWithAs = RightJoinProps & RightJoinProps & { as?: AsComponent; }; export declare type ComponentWithAs = { (props: MergeWithAs, React.ComponentProps, Props, AsComponent>): JSX.Element; displayName?: string; propTypes?: React.WeakValidationMap; contextTypes?: React.ValidationMap; defaultProps?: Partial; id?: string; }; export declare type ForwardRefWithStaticComponents, Static extends Record> = ((props: Props) => React.ReactElement) & Static & { displayName: string; }; //# sourceMappingURL=types.d.ts.map