import { CSSProperties } from 'react'; import { Breakpoint, Responsive } from '@shopify/post-purchase-ui-extensions'; export declare function useResponsiveValue(values: Partial>): T | undefined; declare type UseResponsiveStyleOptions = { [Property in keyof CSSProperties]?: { value?: CSSProperties[Property] | Responsive; /** * An optional function to transform the value for the current breakpoint. */ transform?: (value: Exclude) => CSSProperties[Property]; }; }; /** * Returns a style object matching the passed one, where each property value * is the one that applies to the current viewport size. * * @param options */ export declare function useResponsiveStyle(options: T): U | {}; export declare function maybeResponsiveToArray(maybeResponsive: T | Responsive): [Breakpoint, T][]; export declare function isResponsiveValue(obj: any): boolean; export {};