/** * Fluent Grow Layout - Overflow Module * ------------------------------------ * Controls overflow behaviours, scroll snapping and masking utilities with * responsive breakpoints. */ import { type ResponsiveInput, type ResponsiveOptions } from './shared'; export interface OverflowConfig { overflow?: CSSStyleDeclaration['overflow']; overflowX?: CSSStyleDeclaration['overflowX']; overflowY?: CSSStyleDeclaration['overflowY']; overscrollBehavior?: CSSStyleDeclaration['overscrollBehavior']; overscrollBehaviorX?: CSSStyleDeclaration['overscrollBehaviorX']; overscrollBehaviorY?: CSSStyleDeclaration['overscrollBehaviorY']; scrollBehavior?: CSSStyleDeclaration['scrollBehavior']; scrollSnapType?: string; scrollSnapAlign?: string; scrollSnapStop?: CSSStyleDeclaration['scrollSnapStop']; scrollPadding?: string; scrollMargin?: string; scrollbarGutter?: CSSStyleDeclaration['scrollbarGutter']; mask?: string; maskComposite?: string; clipPath?: string; touchAction?: CSSStyleDeclaration['touchAction']; } export type OverflowResponsiveMap = ResponsiveInput; export declare class Overflow { private element; private cleanupFns; constructor(element: HTMLElement); set(config: OverflowConfig): this; hidden(axis?: 'x' | 'y' | 'both'): this; auto(axis?: 'x' | 'y' | 'both'): this; scroll(axis?: 'x' | 'y' | 'both'): this; clip(): this; overscroll(value: CSSStyleDeclaration['overscrollBehavior'], axis?: 'x' | 'y' | 'both'): this; scrollSnap(type: string, align?: string, stop?: CSSStyleDeclaration['scrollSnapStop']): this; scrollPadding(value: string): this; scrollMargin(value: string): this; scrollBehavior(value: CSSStyleDeclaration['scrollBehavior']): this; scrollbarGutter(value: CSSStyleDeclaration['scrollbarGutter']): this; mask(value: string, composite?: string): this; clipPath(value: string): this; touchAction(value: CSSStyleDeclaration['touchAction']): this; responsive(responsive: OverflowResponsiveMap, options?: ResponsiveOptions): this; destroy(): void; private applyConfig; private registerCleanup; } //# sourceMappingURL=overflow.d.ts.map