import isFocusableInput from './isFocusableInput';
const getAllInputs = () => {
    if (typeof document === 'undefined') {
        return [];
    }
    return Array.prototype.slice
        .call(document.forms)
        .reduce((accumulator, form) => accumulator.concat(Array.prototype.slice.call(form).filter(isFocusableInput)), []);
};
export default getAllInputs;
//# sourceMappingURL=getAllInputs.js.map