import { DocumentCollection, Resource, DocumentResource } from 'miam-jsonapi'; import { Ingredient } from './ingredient'; import { IngredientDefinition } from './ingredient-definition'; import { Package } from './package'; import { RecipeProvider } from './recipe-provider'; import { RecipeStatus } from './recipe-status'; import { RecipeStep } from './recipe-step'; import { RecipeType } from './recipe-type'; import { Sponsor } from './sponsor'; import { Tag } from './tag'; export interface SimplifiedIngredient { name: string; qty: number; unit: string; picture: string; } export declare class Recipe extends Resource { attributes: { title: string; 'ext-id': string; 'ext-link': string; description: string; 'number-of-guests': string; 'preparation-time': string; 'preheating-time': string; 'cooking-time': string; 'resting-time': string; 'media-url': string; source: string; 'informational-page-html': string; 'filigrane-logo-url': string; 'informational-sentence': string; 'order-history': string; difficulty: number; cost: number; suggested: boolean; popularity: number; 'video-id': string; promoted: boolean; editable: boolean; position: number; }; relationships: { ingredients: DocumentCollection; 'ingredients-definitions': DocumentCollection; 'recipe-steps': DocumentCollection; 'recipe-provider': DocumentResource; 'recipe-status': DocumentResource; tags: DocumentCollection; 'recipe-type': DocumentResource; sponsors: DocumentCollection; packages: DocumentCollection; }; ttl: number; selected: boolean; finalTimer: string; modifiedGuests: number; private _normalizedIngredients; get title(): string; get promoted(): boolean; get guests(): string; get filigraneLogoUrl(): string; get sponsorName(): string; get sponsorLogoUrl(): string; get informationalSentence(): string; get costLabel(): string; get orderHistory(): string; get difficulty(): number; set difficulty(d: number); get totalTime(): string; get preparationTime(): string; get cookingTime(): string; get restingTime(): string; get ingredients(): Ingredient[]; get sponsors(): Sponsor[]; get steps(): RecipeStep[]; get status(): RecipeStatus; get recipeType(): RecipeType; get modifiedIngredients(): SimplifiedIngredient[]; get normalizedIngredients(): SimplifiedIngredient[]; get videoId(): string; get position(): number; set position(p: number); private formatDuration; } //# sourceMappingURL=recipe.d.ts.map