declare function fill( list: any[], val: any, start?: number, end?: number ): any[]; export = fill;