export interface FilterArrayProps { /** The array of objects to filter */ array: any; /** The key in the object to check (e.g., 'status' or 'category') */ filterKey: string; /** The operator to use */ operator?: '==' | '!=' | 'contains' | '>'; /** The value to compare against */ value: any; /** Fallback if it fails */ fallback?: any[]; } export default function FilterArray({ array, filterKey, operator, value, fallback }: FilterArrayProps): any[];