import { type PaginationOptions } from '@feathersjs/adapter-commons'; import { type Paginated, type ServiceMethods, type Id, type NullableId, type Params } from '@feathersjs/feathers'; import { type RedisAdapterParams } from './declarations'; import { RedisAdapter } from './adapter'; import { type Entity } from 'redis-om'; export * from './declarations'; export * from './adapter'; export declare class RedisService, ServiceParams extends Params = RedisAdapterParams, PatchData = Partial> extends RedisAdapter implements ServiceMethods, Data, ServiceParams, PatchData> { find(params?: ServiceParams & { paginate?: PaginationOptions; }): Promise>; find(params?: ServiceParams & { paginate: false; }): Promise; find(params?: ServiceParams): Promise | Result[]>; get(id: Id, params?: ServiceParams): Promise; create(data: Data, params?: ServiceParams): Promise; create(data: Data[], params?: ServiceParams): Promise; create(data: Data | Data[], params?: ServiceParams): Promise; update(id: string, data: Data, params?: ServiceParams): Promise; patch(id: Id, data: PatchData, params?: ServiceParams): Promise; patch(id: null, data: PatchData, params?: ServiceParams): Promise; patch(id: NullableId, data: PatchData, params?: ServiceParams): Promise; remove(id: Id, params?: ServiceParams): Promise; remove(id: null, params?: ServiceParams): Promise; remove(id: NullableId, params?: ServiceParams): Promise; }