/** @jsx jsx */
import { ReactNode } from 'react';
import { jsx } from '@emotion/react';
import type { Breakpoint } from './types';
type As = 'article' | 'aside' | 'dialog' | 'div' | 'footer' | 'header' | 'li' | 'main' | 'nav' | 'ol' | 'section' | 'span' | 'ul';
type ResponsiveHideProps = {
    as?: As;
    children: ReactNode;
    /**
     * Apply CSS to hide this specifically **above** this breakpoint.
     * The smallest breakpoint is not included as it would always be shown and this would not be performant.
     *
     * @important do not mix `above` and `below` (TypeScript should prevent this)
     */
    above?: Exclude<Breakpoint, 'xxs'>;
    /**
     * Apply CSS to hide this specifically **below** this breakpoint.
     * The smallest breakpoint is not included as it would never be shown and this would not be performant.
     *
     * @important do not mix `above` and `below` (TypeScript should prevent this)
     */
    below?: Exclude<Breakpoint, 'xxs'>;
} & ({
    above?: never;
    below: Exclude<Breakpoint, 'xxs'>;
} | {
    above: Exclude<Breakpoint, 'xxs'>;
    below?: never;
});
/**
 * Hides the content at a given breakpoint.  By default, content is shown.  The primary use case is for visual presentation.
 * Mix `<Hide above="md">` with `<Show above="md">` to achieve content that shifts at a breakpoint.
 *
 * Please note:
 * - This only uses `display: none` hide, it does not skip rendering of children trees.
 * - As this is rendered at all times, there is little performance savings here (just that this is not painted).
 */
export declare const Hide: ({ above, below, children, as: AsElement, }: ResponsiveHideProps) => jsx.JSX.Element;
export {};
