import React from 'react';
import type { ReactNode } from 'react';
/**
* Breakpoint preset names for ResponsiveContainer.
* Each preset defines a specific set of breakpoints optimized for different use cases.
*/
export type BreakpointPreset = 'fullpage' | 'reduced' | 'jira-issue' | 'jsm-comment' | 'confluence-comment';
export type ResponsiveContainerProps = {
/**
* Selects the breakpoint preset for the responsive container.
*
* Available presets:
* - 'fullpage': (410, 476, 768, 1024) - Editor full-page experiences (updated to 422, 876, 1035, 1130 when platform_editor_ai_content_suggested_edits is enabled)
* - 'reduced': (210, 408, 575, 1024) - Default compact toolbars, constrained layouts
* - 'jira-issue': (280, 507, 679, 1024) - Jira issue view and similar contexts
* - 'jsm-comment': (365, 391, 630, 1024) - JSM comment editor with canned responses button
* - 'confluence-comment': (210, 408, 648, 1024) - Confluence comment editor and inline contexts
*
* @default 'fullpage'
*/
breakpointPreset: BreakpointPreset;
children: ReactNode;
};
/**
* A responsive container that enables container query-based responsive design using CSS container queries.
* This component establishes a containment context named 'toolbar-container' that child components can
* reference for responsive behavior based on the container's width rather than the viewport width.
*
* The container defines breakpoints at:
* - sm: 410px
* - md: 476px
* - lg: 768px
* - xl: 1024px
*
* @example
* Basic usage with Show component for responsive visibility:
* ```tsx
*
*
*
*
*
* Only visible when container is narrower than 410px
*
*
* ```
*
* @example
* Combining multiple Show components for different breakpoints:
* ```tsx
*
*
*
*
*
*
*
*
*
*
*
* ```
*
* @param breakpointPreset - Selects the breakpoint preset for the responsive container
* @returns A Box component with container query styles applied
*/
export declare const ResponsiveContainer: ({ children, breakpointPreset, }: ResponsiveContainerProps) => React.JSX.Element;
/**
* A wrapper that supports responsiveness with media queries. It needs to used together with Show component
*/
export declare const ResponsiveWrapper: ({ children }: {
children: ReactNode;
}) => React.JSX.Element;