import type { PlatformDimensions } from 'q2-tecton-common/lib/types/platformDimensions'; import type { TectonPlatformControls } from '../../types/setup'; import type { PlatformRoot } from '../../types/utility'; /** * Gets the current dimensions of the platform root element. * Returns zeroed dimensions if the target is null or disconnected from DOM. * * @param platformControlBus - Platform control bus for getting surrounding offsets * @param target - The platform root element (HTMLElement or Window) * @returns Platform dimensions including scroll position, size, and orientation */ export declare function getDimensions(platformControlBus: TectonPlatformControls, target: PlatformRoot): PlatformDimensions; /** * Gets the platform root element based on the configured selector. * Falls back to window if no selector is configured. * * @param platformControlBus - Platform control bus with root selector configuration * @returns The platform root element or window */ export declare function getPlatformRoot(platformControlBus: TectonPlatformControls): PlatformRoot; /** * Gets the current vertical scroll position of the window. * * @returns The window's scrollY value */ export declare function scrollYHelper(): number; /** * Gets the current inner height of the window. * * @returns The window's innerHeight value */ export declare function innerHeightHelper(): number; //# sourceMappingURL=dimensionsHelpers.d.ts.map