import { DocumentResource, Service } from 'miam-jsonapi'; import { Observable } from 'rxjs'; import { Recipe } from '../_models/recipe'; import { RecipeStep } from '../_models/recipe-step'; import * as i0 from "@angular/core"; export declare class RecipeStepsService extends Service { resource: typeof RecipeStep; type: string; constructor(); /** * Merge Recipe steps list with output of recipe forms Step list * it's link with RecipeFormComponent * @param recipe to update * @param stepsForm list of step output of RecipeFormComponent form */ formToStepsMapper(recipe: Recipe, stepsForm: any): RecipeStep[]; private newStep; createOrUpdateRelatedSteps(recipeSteps: RecipeStep[]): Observable[]>; deleteStepList(stepIds: string[]): Observable; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; } //# sourceMappingURL=recipe-steps.service.d.ts.map