export declare function generateAllPlansAndFindBest<P, E>({ initial, toAdd, addFct, costFct, onPlan, }: {
    initial: P;
    toAdd: E[][];
    addFct: (p: P, e: E) => P;
    costFct: (p: P) => number;
    onPlan?: (p: P, cost: number, previousCost: number | undefined) => void;
}): {
    best: P;
    cost: number;
};
//# sourceMappingURL=generateAllPlans.d.ts.map