1 | import PropTypes from 'prop-types';
|
2 | export interface DeprecatedDecorator {
|
3 | (version: string, oldProps?: Record<string, any> | null, message?: string): (ComposedComponent: any) => any;
|
4 | deprecatePropValues: (...args: any[]) => PropTypes.Validator<unknown>;
|
5 | warnDeprecatedProps: (...args: any[]) => void;
|
6 | warnDeprecatedComponent: (...args: any[]) => void;
|
7 | changedPackageWarning: (...args: any[]) => string;
|
8 | }
|
9 | declare const deprecated: DeprecatedDecorator;
|
10 | export default deprecated;
|
11 | export { deprecated };
|
12 |
|
\ | No newline at end of file |