import { Injector } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Store } from '@ngxs/store'; import { Observable, Subject } from 'rxjs'; import { RestService } from '../../services/rest-service.service'; export declare class ScCrudService { private _restService; private _injector; private _route; private _store; private _env; static subscription: Subject; constructor(_restService: RestService, _injector: Injector, _route: ActivatedRoute, _store: Store, _env: any); get scope(): { routeSnapshot: import("@angular/router").ActivatedRouteSnapshot; injector: Injector; rest: RestService; store: Store; _unsubscribe$: Subject; }; load({ config, pageSize, page, filters, itemId, sortProp, direction }: { config: any; pageSize: any; page: any; filters: any; itemId: any; sortProp?: string; direction?: string; }): Observable; get({ id, config }: { id: any; config: any; }): Observable; create({ data, config, getConfig, itemId }: { data: any; config: any; getConfig: any; itemId: any; }): Observable; update({ data, config, getConfig, itemId }: { data: any; config: any; getConfig: any; itemId: any; }): Observable; delete({ id, config }: { id: any; config: any; }): Observable; } //# sourceMappingURL=sc-crud.service.d.ts.map