interface Config {
    /**
     * @since 10.19.0
     */
    when?: any;
    /**
     * @since 10.19.0
     */
    oldThing: string;
    /**
     * @since 10.19.0
     */
    newThing?: string;
    /**
     * @since 10.19.0
     */
    link?: string;
}
export declare function useDeprecation(config: Config): void;
export declare function withDeprecation(config: Config): (Component: any) => (props: any) => JSX.Element;
export {};
