import type { QuerySpec, QueryHelpers, QueryRequest } from '@wix/sdk-types'; /** * Creates type-safe query helpers for a specific entity and spec. * These helpers are static and don't require any context. * @template T - Entity type * @template S - Query spec defining filterable/sortable fields * @template R - Output type from QueryBuilder.build() (defaults to QueryRequest) * @returns QueryHelpers containing QueryBuilder, Filter, and Sort * @example * // Basic usage - build() returns QueryRequest * const helpers = createQueryHelpers(); * * // With custom output type - build() returns ServiceQuery * const helpers = createQueryHelpers(); * * // In module definition * export const products = { * ...createQueryHelpers(), * getProduct: createRESTModule(...), * }; * * // Consumer usage * import { products } from '@wix/stores'; * * const { QueryBuilder, Filter, Sort } = products; * * const query = QueryBuilder() * .withFilter( * Filter.and( * Filter('title').eq('Product'), * Filter('price').gt(50) * ) * ) * .withSorting(Sort('price').desc()) * .withPaging({ limit: 20, offset: 0 }) * .build(); */ export declare function createQueryUtils>(): QueryHelpers;