export declare function flatten<U, T extends {
    children: any[];
}>(items: T[]): U[];
