import { Connection } from 'typeorm'; export interface Sort { id: number; positions: number[]; type: string; } /** * const SortServiceProvider: Provider = { * provide: 'SortService', * useFactory: (connection: Connection) => { * return new SortService(connection, Sort); * }, * inject: [Connection], * }; */ export declare class SortService { private readonly connection; private sortRepository; constructor(connection: Connection, Sort: any); findItems(sort: Sort): Promise; }