import type { WorkspacePlacedRegion } from '../geometry/allocation.utils.js'; import type { WorkspacePlacementIntent } from '../interaction/command.utils.js'; import type { WorkspaceDragOffer, WorkspaceOfferContext } from '../interaction/drag-preview.utils.js'; import type { WorkspaceLayout } from '../model/layout.utils.js'; import type { WorkspacePlacementPlanner } from './planner.utils.js'; import type { WorkspacePlacementSession } from './session.utils.js'; import type { WorkspaceMeasurements } from '../presentation/measurements.utils.js'; import type { WorkspaceEvaluation } from '../evaluation.utils.js'; interface PreparationInput { evaluation: WorkspaceEvaluation; layout: WorkspaceLayout; measurements: WorkspaceMeasurements; } interface CandidateInput extends PreparationInput { source: string[]; intent: WorkspacePlacementIntent; planner?: WorkspacePlacementPlanner; placementSession?: WorkspacePlacementSession; } export interface WorkspacePlacementOfferInputs extends CandidateInput { context?: WorkspaceOfferContext; groupable: boolean; currentRegions(): WorkspacePlacedRegion[]; } export declare function getAdmissiblePlacementLayout(input: CandidateInput & { groupable: boolean; candidate?: WorkspaceLayout; }): WorkspaceLayout | undefined; export declare function evaluatePlacementOffer(input: WorkspacePlacementOfferInputs): WorkspaceDragOffer | undefined; export declare function computePlacementOffer(input: WorkspacePlacementOfferInputs): WorkspaceDragOffer | undefined; export {};