export declare class ResolveService {
    private _NFHttp;
    private _mainCancel;
    private _recipes;
    total: any;
    products: any[];
    ingredients: any[];
    resolving: boolean;
    constructor(config?: any);
    cancel(type?: string): void;
    /**
     * the recipe id can be gastrofy_id or external_id:
     * { gastrofy_id: 1, portions: 1 }
     * OR
     * { external_id: 1, portions: 1 }
     *
     * options: {
     *   tags: Array,
     *   storeProvider: String,
     *   storeIdentifier: String',
     *   productExceptions: Array,
     *   calculation: price | waste,
     *   prioritization: String,
     *   promotedBrand: String,
     *   params: {}
     * }
     */
    resolve(recipes: any, options: any): any;
    substituteProduct(identifier: string, substitute: any): void;
    productsBySections(): {
        common: any[];
        shared: any[];
        recipes: any;
    };
    productsByCategories(): any[];
    private _formatProducts;
    private _formaIngredients;
    private _calculateTotal;
}
