import { FC, PropsWithChildren } from 'react'; export type DeprecationWarningHandler = (message: string) => void; export interface DeprecationWarningProviderProps extends PropsWithChildren { onWarning?: DeprecationWarningHandler; } export declare const DeprecationWarningContext: import('react').Context; export declare const DeprecationWarningProvider: FC; export declare const useWarnDeprecation: () => (message: string) => void; export default DeprecationWarningProvider;