-
Notifications
You must be signed in to change notification settings - Fork 0
/
withSomething.d.ts
196 lines (196 loc) · 204 KB
/
withSomething.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
import React from 'react';
/**
* Gets the props for a React element type, without preserving the optionality of defaultProps.
*
* Inspired by: https://github.com/facebook/flow/blob/b150ae683aa386ae7296d5d6db973454e1fa7ca2/website/en/docs/react/types.md#reactelementpropstypeof-component-
*
* Note: Falls back to any for compatibility with JSX components.
*/
declare type ElementProps<C> = C extends React.ComponentType<any> ? C extends {
new (props: infer P, context?: any): any;
} ? P : C extends (props: infer P & {
children?: React.ReactNode;
}, context?: any) => any ? P : any : any;
export interface WithSomethingProps {
something: 'something';
}
export declare function withSomething<C extends React.ComponentType<any>>(InnerComponent: C): {
new (props: { [P in Exclude<keyof (C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T> ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U> ? U extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : U extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : U extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : T extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : T extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : T extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : C extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : C extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : C extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C>), "something">]: (C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T> ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U> ? U extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : U extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : U extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : T extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : T extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : T extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : C extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : C extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : C extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C>)[P]; } | Readonly<{ [P in Exclude<keyof (C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T> ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U> ? U extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : U extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : U extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : T extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : T extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : T extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : C extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : C extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : C extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C>), "something">]: (C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T> ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U> ? U extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : U extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : U extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : T extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : T extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : T extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : C extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : C extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : C extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C>)[P]; }>): {
render(): JSX.Element;
context: any;
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }> & Readonly<{
children?: React.ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextState: Readonly<{}>, nextContext: any): void;
};
new (props: { [P in Exclude<keyof (C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T> ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U> ? U extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : U extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : U extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : T extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : T extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : T extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : C extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : C extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : C extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C>), "something">]: (C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T> ? T extends React.MemoExoticComponent<infer U> | React.LazyExoticComponent<infer U> ? U extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : U extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : U extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : T extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : T extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : T extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C> : C extends {
propTypes: infer T_1;
defaultProps: infer D;
} ? (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) extends any ? string extends keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never) ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never : Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Exclude<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>> & Partial<Pick<ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never, Extract<keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never), keyof D>>> & Partial<Pick<D, Exclude<keyof D, keyof (ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_1> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_1>, Exclude<import("prop-types").RequiredKeys<T_1>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_1> | Exclude<keyof T_1, import("prop-types").RequiredKeys<T_1>>>> : never)>>> : never : C extends {
propTypes: infer T_2;
} ? ElementProps<C> extends any ? (boolean extends (ElementProps<C> extends never ? true : false) ? true : false) extends true ? import("prop-types").InferProps<T_2> : string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> & Pick<import("prop-types").InferProps<T_2>, Exclude<import("prop-types").RequiredKeys<T_2>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>> | Exclude<Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>, Exclude<keyof ElementProps<C>, { [K in keyof ElementProps<C>]: (boolean extends (ElementProps<C>[K] extends never ? true : false) ? true : false) extends true ? K : never; }[keyof ElementProps<C>]>>> & Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, import("prop-types").RequiredKeys<T_2> | Exclude<keyof T_2, import("prop-types").RequiredKeys<T_2>>>> : never : C extends {
defaultProps: infer D_1;
} ? ElementProps<C> extends any ? string extends keyof ElementProps<C> ? ElementProps<C> : Pick<ElementProps<C>, Exclude<keyof ElementProps<C>, keyof D_1>> & Partial<Pick<ElementProps<C>, Extract<keyof ElementProps<C>, keyof D_1>>> & Partial<Pick<D_1, Exclude<keyof D_1, keyof ElementProps<C>>>> : never : ElementProps<C>)[P]; }, context: any): {
render(): JSX.Element;
context: any;
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }> & Readonly<{
children?: React.ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<{ [P_1 in Exclude<keyof JSX.LibraryManagedAttributes<C, ElementProps<C>>, "something">]: JSX.LibraryManagedAttributes<C, ElementProps<C>>[P_1]; }>, nextState: Readonly<{}>, nextContext: any): void;
};
contextType?: React.Context<any> | undefined;
};
export {};