import type { DeviceDisplayType } from '../device/device-type'; /** Flattens `*-3-resolutions` attribute bags for the active device. */ export interface ResolvedDeviceAttributes { flattened: Record; } /** * Precedence matches widget-react: use `all` when present, else the device key. */ export declare function resolveDeviceAttributes({ deviceDisplayType, componentAttributes, }: { deviceDisplayType: DeviceDisplayType; componentAttributes?: Record | null; }): ResolvedDeviceAttributes; /** Persisted hide flag on a column or a widget `containerAttributes`. */ export declare const HIDE_WIDGET_ATTRIBUTE_NAME = "hide-component-3-resolutions"; /** True when the column should be hidden for the active device. */ export declare function isComponentHidden(attrs: ResolvedDeviceAttributes): boolean; /** * True when the author asked for the whole widget to be hidden at this device * width. Callers must skip this in compose mode — a hidden widget on the canvas * leaves nothing to edit. */ export declare function isWidgetHiddenForDevice({ containerAttributes, deviceDisplayType, }: { containerAttributes?: Record | null; deviceDisplayType: DeviceDisplayType; }): boolean; //# sourceMappingURL=resolve-device-attributes.d.ts.map