import type { IResizeProps } from './IResizeProps'; import type { IResizeSpanProps } from './IResizeSpanProps'; import type { ISnappedDimension } from './ISnappedDimension'; /** * Utility class for resize calculations in the tile manager. * * @public */ export declare class TileManagerResizeUtil { private readonly _gap; /** * Constructs a new instance of the `TileManagerResizeUtil` class. * * @param gap - The gap size between tiles. * * @public */ constructor(gap: number); /** * Gets the gap size. * * @public * @readonly */ get gap(): number; /** * Calculates the snapped dimension during resize. * * @param resizeProps - The resize properties. * @returns The snapped dimension result. * * @public */ calculateSnappedDimension(resizeProps: IResizeProps): ISnappedDimension; /** * Calculates the resized span based on the target size. * * @param props - The resize span properties. * @returns The new span value. * * @public */ calculateResizedSpan(props: IResizeSpanProps): number; /** * Calculates the grid position based on target position and sizes. * * @param targetPosition - The target position in pixels. * @param sizes - The array of grid entry sizes. * @returns The grid position index (1-based). * * @public */ calculatePosition(targetPosition: number, sizes: Array): number; } //# sourceMappingURL=TileManagerResizeUtil.d.ts.map