import type { Rect } from '@nvidia-elements/core/internal'; import type { WorkspacePlacedRegion } from '../geometry/allocation.utils.js'; import type { WorkspaceNode } from '../model/layout.utils.js'; export interface WorkspacePlacementScope { kind: 'rail' | 'recipient'; members: string[]; } export interface WorkspaceScopeBounds { key: string; rect: Rect; } interface ScopeRectInput { members: string[]; allocation: WorkspacePlacedRegion[]; source: string[]; } export type WorkspaceScopeRectResolver = (input: ScopeRectInput) => Rect | undefined; export declare function createPlacementScope(kind: WorkspacePlacementScope['kind'], node: WorkspaceNode | null, source: string[]): WorkspacePlacementScope; /** Includes surviving peers whose computed allocation changes under split constraints. */ export declare function getAffectedSplitScope(input: { baseline: WorkspacePlacedRegion[]; achieved: WorkspacePlacedRegion[]; source: string[]; recipient: string[]; }): WorkspacePlacementScope; /** Seeds scope bounds before animation can change selection. */ export declare function getAllocatedScopes(input: { catalog: WorkspacePlacedRegion[]; allocation: WorkspacePlacedRegion[]; source: string[]; }): WorkspaceScopeBounds[]; export declare function getAllocatedScopeRect(input: ScopeRectInput): Rect | undefined; export declare function createScopeRectResolver(): WorkspaceScopeRectResolver; export {};