export declare function getEveryNthWithCondition(array: Type[], n: number, isValid?: (candidate: Type) => boolean): Type[] | undefined;