/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type FitAnswers } from "../shared/func/use-fit.js"; import type { AllocationDomain, AllocationValue, Context, Day, FitAsk, FitResult } from "./model.js"; /** * The fit, as the board asks it: of the day as drafted now, or of a plan the * board derives from it (a fill asks of the day without the reservation it * fills). */ export type AllocationFit = FitAnswers; /** * The board's fit (see the module docs). * * @param value - The payload: the fit's name * @param domain - The bin row type's domain: the request's type * @param day - The plan day * @param plan - The day as drafted * @param context - Every arrival and resource * @returns The fit */ export declare function useAllocationFit(value: AllocationValue, domain: AllocationDomain, day: Date, plan: Day, context: Context): AllocationFit; //# sourceMappingURL=fit.d.ts.map