UNPKG

@mcabreradev/filter

Version:

A powerful, SQL-like array filtering library for TypeScript and JavaScript with advanced pattern matching, MongoDB-style operators, deep object comparison, and zero dependencies

5 lines (4 loc) 345 B
import { type MaybeRef } from 'vue'; import type { Expression, FilterOptions } from '../../types'; import type { UsePaginatedFilterResult } from './vue.types'; export declare function usePaginatedFilter<T>(data: MaybeRef<T[]>, expression: MaybeRef<Expression<T>>, initialPageSize?: number, options?: FilterOptions): UsePaginatedFilterResult<T>;