import React from 'react'; import { FlexAlignment } from '../types'; type Never> = { [K in keyof T]: never; }; type SpaceBetween = '0' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32'; type Flex = { spaceBetween?: SpaceBetween; }; type ContainerAlignment = { 'horizontal-alignment'?: FlexAlignment | 'space-between'; 'vertical-alignment'?: FlexAlignment; 'space-between'?: 'sm' | 'md' | 'lg'; }; type Props = { shadow?: 'md' | 'lg' | 'xl' | '2xl'; borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'; paddingX?: string; paddingY?: string; background?: string; backgroundImageUrl?: string; width?: string; collapsible?: boolean; 'icon-position'?: 'right' | 'left'; 'attach-icon'?: boolean; 'fill-title'?: boolean; border?: boolean; text?: string; 'icon-name'?: string; collapsed?: boolean; 'text-align'?: 'left' | 'right' | 'center'; 'text-variant'?: 'body1' | 'body2' | 'subtitle1' | 'h1' | 'h2' | 'h3' | 'subtitle2'; 'text-mode'?: 'primary' | 'secondary' | 'error' | 'success'; } & ((Flex & Never) | (ContainerAlignment & Never)); declare global { namespace React.JSX { interface IntrinsicElements { 'descope-collapsible-container': React.DetailedHTMLProps, HTMLElement>; } } } declare const Container: React.ForwardRefExoticComponent<(Props & React.HTMLAttributes) & React.RefAttributes>; export default Container;