/** * Adds a show_when to a component. * If the component has no show_when, then an array is created * with condition as the only entry. * If the component has existing show_whens then condition is * appended to the existing array. * @param {*} component The component to add the show_when to. * @param {*} condition The show_when condition to add. * @returns The component with the new show_when added. * null if component or condition are invalid. */ declare const addShowWhen: (component: any, condition: any) => any; export default addShowWhen;