interface Config { skipEmpty?: boolean; } declare const toList: (val: T | T[], config?: Config) => T[]; export default toList;