import { Breakpoint } from '../../../helpers/hooks/use-breakpoint'; export type BreakpointObject = { xs: T; sm?: T; md?: T; lg?: T; xl?: T; xxl?: T; }; /** * A value that is either fixed or varies per breakpoint, e.g. `2` or * `{ xs: 1, md: 2.5, xl: 4 }`. */ export type BreakpointInput = T | BreakpointObject; /** * Normalizes a `BreakpointInput` into a `BreakpointObject`. A breakpoint-shaped * object — one that has at least one breakpoint key (`xs`/`sm`/`md`/…) — is returned * as-is; any other value (including a plain object that isn't breakpoint-shaped) is * wrapped as the base `xs` value. */ export declare const normalizeBreakpointInput: (input: BreakpointInput) => BreakpointObject; /** * Resolves the value for the current breakpoint: the largest breakpoint that is * defined and not above the current one, falling back to `xs`. */ export declare const resolveBreakpointValue: (input: BreakpointObject, current: Breakpoint) => T;