import * as React from 'react'; import { StringIndexedObject } from '../ts-helper'; /** * @draft */ export declare function deprecatedProp(since: string, hint: string): (props: StringIndexedObject, propName: string, componentName: string) => Error | null; /** * @draft */ export declare function deprecatedMethod(compInstance: React.Component, methodName: string, since: string, hint: string, originMethod?: () => MethodResult): MethodResult | undefined; export declare function getDeprecatedPropValue(propValue?: T, deprecatePropValue?: T): T | undefined;