export declare function walk(arrs: T[] | T, action: (item: T, index: number) => void): void; export declare function flatten(array: T[]): T[];