import { ComponentConfig } from './componentConfig.types.js'; /** * Compares all the props (and slots) passed to a component to a configuration * file containing an overview of deprecated props. Will also check callback functions for React, Angular, and Vue. * * Each deprecated prop/slot will be `console.warn()`-ed. * * To get a list of all props passed to a function, use `arguments[0]` inside a function. * `arguments[0]` does not work in arrow functions! * * @param config Component configuration indicating what props are deprecated. * @param props Object containing all props passed to the component. * * * @example * export const Component: React.FC = function ({ * prop1, * prop2, * prop3, * }) { * warnDeprecatedProps(config, arguments[0]); * ... * } * * @since 1.3.0 */ export declare const warnDeprecatedProps: (config: ComponentConfig, props: { [propName: string]: any; }) => void;