export declare function count(array?: E[] | readonly E[] | null, predicate?: (value: E, index: number) => boolean): number;