import { ReactElement } from 'react'; /** * Logs a dev-only deprecation warning when `error` is passed as a `ReactElement`. * String values are the preferred type and are NOT deprecated. * Should be called in consumer components that accept the union `error` prop. */ export declare function warnDeprecatedErrorUsage(componentName: string, error: ReactElement | string | boolean | string[] | undefined): void;