export interface Option { keepEmpty?: boolean; } export default function toArray(children: any[], option?: Option): any[];