import { MealieClient } from '../client.js'; import type { Recipe, RecipeSummary, CreateRecipe, RecipeDuplicate, RecipeLastMade, RecipeAsset, RecipeCommentOut, RecipeTimelineEventIn, RecipeTimelineEventOut, RecipeTimelineEventUpdate, RecipeTimelineEventPagination, FormatResponse, RecipeZipTokenResponse, ScrapeRecipe, ScrapeRecipeTest, ScrapeRecipeData, CreateRecipeByUrlBulk, AssignTags, AssignSettings, AssignCategories, DeleteRecipes, ExportRecipes, GroupDataExport, RecipeSuggestionResponse, UpdateImageResponse, RecipeQueryParams, RecipeSuggestionQueryParams, PaginationBase, SuccessResponse } from '../types/index.js'; export declare class RecipeService extends MealieClient { /** * Get available recipe formats and templates */ getRecipeFormatsAndTemplates(): Promise; /** * Get recipe zip token */ getRecipeZipToken(slug: string): Promise; /** * Get recipe as format */ getRecipeAsFormat(slug: string, templateName: string): Promise; /** * Get recipe as zip */ getRecipeAsZip(slug: string, token: string): Promise; /** * Test parse recipe URL */ testParseRecipeUrl(test: ScrapeRecipeTest): Promise; /** * Create recipe from HTML or JSON */ createRecipeFromHtmlOrJson(data: ScrapeRecipeData): Promise; /** * Parse recipe URL and create recipe */ parseRecipeUrl(scrape: ScrapeRecipe): Promise; /** * Parse recipe URL bulk */ parseRecipeUrlBulk(bulk: CreateRecipeByUrlBulk): Promise; /** * Create recipe from zip file */ createRecipeFromZip(archive: File | Blob): Promise; /** * Create recipe from image */ createRecipeFromImage(images: File | Blob | File[] | Blob[], translateLanguage?: string): Promise; /** * Get all recipes */ getAllRecipes(params?: RecipeQueryParams): Promise>; /** * Create a new recipe */ createRecipe(recipe: CreateRecipe): Promise; /** * Update multiple recipes */ updateManyRecipes(recipes: Recipe[]): Promise; /** * Patch multiple recipes */ patchManyRecipes(recipes: Recipe[]): Promise; /** * Get recipe suggestions */ suggestRecipes(params?: RecipeSuggestionQueryParams): Promise; /** * Get a single recipe */ getRecipe(slug: string): Promise; /** * Update a single recipe */ updateRecipe(slug: string, recipe: Recipe): Promise; /** * Patch a single recipe */ patchRecipe(slug: string, recipe: Partial): Promise; /** * Delete a single recipe */ deleteRecipe(slug: string): Promise; /** * Duplicate a recipe */ duplicateRecipe(slug: string, duplicate?: RecipeDuplicate): Promise; /** * Update last made date for a recipe */ updateLastMade(slug: string, lastMade: RecipeLastMade): Promise; /** * Scrape image URL for a recipe */ scrapeImageUrl(slug: string, scrape: ScrapeRecipe): Promise; /** * Update recipe image */ updateRecipeImage(slug: string, image: File | Blob, extension: string): Promise; /** * Upload recipe asset */ uploadRecipeAsset(slug: string, file: File | Blob, name: string, icon: string, extension: string): Promise; /** * Get recipe comments */ getRecipeComments(slug: string): Promise; /** * Bulk tag recipes */ bulkTagRecipes(data: AssignTags): Promise; /** * Bulk update recipe settings */ bulkSettingsRecipes(data: AssignSettings): Promise; /** * Bulk categorize recipes */ bulkCategorizeRecipes(data: AssignCategories): Promise; /** * Bulk delete recipes */ bulkDeleteRecipes(data: DeleteRecipes): Promise; /** * Bulk export recipes */ bulkExportRecipes(data: ExportRecipes): Promise; /** * Get exported data */ getExportedData(): Promise; /** * Get exported data token */ getExportedDataToken(path: string): Promise; /** * Purge export data */ purgeExportData(): Promise; /** * Get shared recipe */ getSharedRecipe(tokenId: string): Promise; /** * Get all timeline events */ getAllTimelineEvents(params?: RecipeQueryParams): Promise; /** * Create timeline event */ createTimelineEvent(event: RecipeTimelineEventIn): Promise; /** * Get timeline event */ getTimelineEvent(eventId: string): Promise; /** * Update timeline event */ updateTimelineEvent(eventId: string, event: RecipeTimelineEventUpdate): Promise; /** * Delete timeline event */ deleteTimelineEvent(eventId: string): Promise; /** * Update timeline event image */ updateTimelineEventImage(eventId: string, image: File | Blob, extension: string): Promise; } //# sourceMappingURL=recipe.d.ts.map