/** * Transitions an element from 0 to a detected height * Will return a Promise when no 'done' callback is provided * @type {(el: HTMLElement, done?: function) => void | Promise} */ export const expand: (el: HTMLElement, done?: Function) => void | Promise; /** * Transitions an element from a detected height to 0 * Will return a Promise when no 'done' callback is provided * @type {(el: HTMLElement, done?: function) => void | Promise} */ export const collapse: (el: HTMLElement, done?: Function) => void | Promise;