export namespace Children { export { mapFn as map }; export { mapFn as forEach }; export function count(children: any): number; export function only(children: any): any; export { toChildArray as toArray }; } declare function mapFn(children: any, fn: any): never[] | null; import { toChildArray } from 'preact'; export {};