import type { FactoryPayload } from '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' import type { EmotionSx } from '@mantine/emotion' import type { EmotionStyles } from '../emotion/index.mjs' import type { ShadingColor } from '../theme/colors.mjs' import type { Color } from '../theme/theme.mjs' declare module '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } declare module '@mantine/core' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } import { MantineTheme } from '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib'; import { CSSObject } from '@mantine/emotion'; import { default as React } from 'react'; import { MediaQueryNumberSize } from './styles.mjs'; export interface MediaQueryProps { className?: string; /** Child that should be shown at given breakpoint, it must accept className prop */ children: React.ReactNode; /** Styles applied to child when viewport is smaller than given breakpoint */ smallerThan?: MediaQueryNumberSize; /** Styles applied to child when viewport is larger than given breakpoint */ largerThan?: MediaQueryNumberSize; /** Any other media query */ query?: string; /** Styles applied to child when breakpoint matches */ styles: CSSObject | ((theme: MantineTheme) => CSSObject); } export declare function MediaQuery(props: MediaQueryProps): React.ReactElement> | null;