Files
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

11 lines
526 B
TypeScript

import { LimitType } from './Limit';
import { ScrollBodyType } from './ScrollBody';
import { Vector1DType } from './Vector1d';
import { PercentOfViewType } from './PercentOfView';
export type ScrollBoundsType = {
shouldConstrain: () => boolean;
constrain: (pointerDown: boolean) => void;
toggleActive: (active: boolean) => void;
};
export declare function ScrollBounds(limit: LimitType, location: Vector1DType, target: Vector1DType, scrollBody: ScrollBodyType, percentOfView: PercentOfViewType): ScrollBoundsType;