import { r as StyledComponent } from "../chunk-CSYKg21N.js"; import { DecoratorFunction } from "storybook/internal/csf"; import * as React$2 from "react"; import React$1, { AnchorHTMLAttributes, ButtonHTMLAttributes, Component, ComponentProps, DOMAttributes, ElementType, FC, ForwardRefExoticComponent, HTMLAttributes, MouseEvent as MouseEvent$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, RefObject, SelectHTMLAttributes, SyntheticEvent } from "react"; import { Addon_RenderOptions } from "storybook/internal/types"; import { CSSObject, FunctionInterpolation, StorybookTheme } from "storybook/theming"; import { API_KeyCollection } from "storybook/manager-api"; //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/A.d.ts declare const A: StyledComponent & { theme?: import("storybook/theming").Theme; }, {}, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Blockquote.d.ts declare const Blockquote: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLQuoteElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Code.d.ts declare const DefaultCodeBlock: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLElement>, {}>; declare const Code: ({ className, children, ...props }: ComponentProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Div.d.ts declare const Div: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLDivElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/DL.d.ts declare const DL: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLDListElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/H1.d.ts declare const H1: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/H2.d.ts declare const H2: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/H3.d.ts declare const H3: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/H4.d.ts declare const H4: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/H5.d.ts declare const H5: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/H6.d.ts declare const H6: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/HR.d.ts declare const HR: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLHRElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Img.d.ts declare const Img: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLImageElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/LI.d.ts declare const LI: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLLIElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/OL.d.ts declare const OL: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLOListElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/P.d.ts declare const P: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLParagraphElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Pre.d.ts declare const Pre: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLPreElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Span.d.ts declare const Span: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLSpanElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/Table.d.ts declare const Table: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLTableElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/TT.d.ts declare const TT: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLTitleElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/elements/UL.d.ts declare const UL: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLUListElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Badge/Badge.d.ts interface BadgeProps { compact?: boolean; status?: 'positive' | 'negative' | 'neutral' | 'warning' | 'critical' | 'active'; children?: React$1.ReactNode; } declare const Badge: ({ ...props }: BadgeProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/link/link.d.ts interface LinkStylesProps { secondary?: boolean; tertiary?: boolean; nochrome?: boolean; inverse?: boolean; isButton?: boolean; } interface LinkInnerProps { withArrow?: boolean; containsIcon?: boolean; } type AProps = AnchorHTMLAttributes; interface LinkProps extends LinkInnerProps, LinkStylesProps, AProps { cancel?: boolean; className?: string; style?: object; onClick?: (e: MouseEvent$1) => void; href?: string; } declare const Link: React$1.ForwardRefExoticComponent>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/DocumentWrapper.d.ts declare const DocumentWrapper: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLDivElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/syntaxhighlighter/syntaxhighlighter.d.ts declare const supportedLanguages: { jsextra: any; jsx: any; json: any; yml: any; md: any; bash: any; css: any; html: any; tsx: any; typescript: any; graphql: any; }; declare function SyntaxHighlighter$1({ children, language, copyable, bordered, padded, format, formatter, className, showLineNumbers, ...rest }: SyntaxHighlighterProps): React$1.JSX.Element | null; declare namespace SyntaxHighlighter$1 { var registerLanguage: (name: string, func: any) => void; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/syntaxhighlighter/syntaxhighlighter-types.d.ts interface SyntaxHighlighterRendererProps { rows: any[]; stylesheet: string; useInlineStyles: boolean; } type SyntaxHighlighterRenderer = (props: SyntaxHighlighterRendererProps) => ReactNode; interface SyntaxHighlighterCustomProps { language: string; copyable?: boolean; bordered?: boolean; padded?: boolean; format?: SyntaxHighlighterFormatTypes; formatter?: (type: SyntaxHighlighterFormatTypes, source: string) => Promise; className?: string; renderer?: SyntaxHighlighterRenderer; } type SyntaxHighlighterFormatTypes = boolean | 'dedent'; type LineTagPropsFunction = (lineNumber: number) => React.HTMLProps; type SupportedLanguage = 'text' | keyof typeof supportedLanguages; interface SyntaxHighlighterBaseProps { children?: React.ReactNode; codeTagProps?: React.HTMLProps; customStyle?: any; language?: SupportedLanguage; lineNumberStyle?: any; lineProps?: LineTagPropsFunction | React.HTMLProps; showLineNumbers?: boolean; startingLineNumber?: number; wrapLongLines?: boolean; style?: any; useInlineStyles?: boolean; } type SyntaxHighlighterProps = SyntaxHighlighterBaseProps & SyntaxHighlighterCustomProps; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/syntaxhighlighter/lazy-syntaxhighlighter.d.ts declare const LazySyntaxHighlighter: React$1.LazyExoticComponent<(props: ComponentProps) => React$1.JSX.Element>; declare const LazySyntaxHighlighterWithFormatter: React$1.LazyExoticComponent<(props: ComponentProps) => React$1.JSX.Element>; declare function SyntaxHighlighter(props: ComponentProps | ComponentProps): React$1.JSX.Element; declare namespace SyntaxHighlighter { var registerLanguage: (name: string, func: any) => void; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/syntaxhighlighter/clipboard.d.ts declare function copyUsingClipboardAPI(text: string): Promise; declare function createCopyToClipboardFunction(): typeof copyUsingClipboardAPI; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/ActionBar/ActionBar.d.ts interface ActionItem { title: string | ReactElement; ariaLabel?: string; className?: string; onClick: (e: MouseEvent$1) => void; disabled?: boolean; } interface ActionBarProps { /** Items to render in this ActionBar. */ actionItems: ActionItem[]; /** * When true, ActionBar aligns to the flex end and inline end of a wrapping row flex container. * When false, ActionBar is positioned absolutely at the bottom right of its relative parent. */ flexLayout?: boolean; } declare const ActionBar: ({ actionItems, flexLayout, ...props }: ActionBarProps) => React$1.JSX.Element; //#endregion //#region node_modules/@radix-ui/react-slot/dist/index.d.mts declare module 'react' { interface ReactElement { $$typeof?: symbol | string; } } interface SlotProps extends React$2.HTMLAttributes { children?: React$2.ReactNode; } declare const Slot: React$2.ForwardRefExoticComponent>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Button/Button.d.ts interface ButtonProps extends Omit, 'as'> { as?: ComponentProps['as'] | typeof Slot; asChild?: boolean; /** * A concise action label for the button announced by screen readers. Needed for buttons without * text or with text that relies on visual cues to be understood. Pass false to indicate that the * Button's content is already accessible to all. When a string is passed, it is also used as the * default tooltip text. */ ariaLabel?: string | false; /** * An optional tooltip to display when the Button is hovered. If the Button has no text content, * consider making this the same as the aria-label. */ tooltip?: string; /** * Only use this flag when tooltips on button interfere with other keyboard interactions, like * when building a custom select or menu button. Disables tooltips from the `tooltip`, `shortcut` * and `ariaLabel` props. */ disableAllTooltips?: boolean; /** * A more thorough description of what the Button does, provided to non-sighted users through an * aria-describedby attribute. Use sparingly for buttons that trigger complex actions. */ ariaDescription?: string; /** * An optional keyboard shortcut to enable the button. Will be displayed in the tooltip and passed * to aria-keyshortcuts for assistive technologies. The binding of the shortcut and action is * managed globally in the manager's shortcuts module. */ shortcut?: API_KeyCollection; } declare const Button: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const StyledButton: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { size?: 'small' | 'medium'; padding?: 'small' | 'medium' | 'none'; appearance?: 'default' | 'agentic'; variant?: 'outline' | 'solid' | 'ghost'; active?: boolean; $disabled?: boolean; readOnly?: boolean; animating?: boolean; animation?: 'none' | 'rotate360' | 'glow' | 'jiggle'; }, React$1.DetailedHTMLProps, HTMLButtonElement>, {}>; declare const IconButton: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/ToggleButton/ToggleButton.d.ts interface ToggleButtonProps extends ButtonProps { /** Whether the ToggleButton is currently pressed or not. */ pressed: boolean; } declare const ToggleButton: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; //#endregion //#region node_modules/react-transition-state/types/index.d.ts type TransitionStatus = 'preEnter' | 'entering' | 'entered' | 'preExit' | 'exiting' | 'exited' | 'unmounted'; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/ActionList/ActionList.d.ts declare const ActionListAction: StyledComponent & React$1.RefAttributes & { theme?: import("storybook/theming").Theme; }, "ref"> & React$1.RefAttributes & { theme?: import("storybook/theming").Theme; }, {}, {}>; declare const ActionListLink: (props: ComponentProps & React$1.AnchorHTMLAttributes) => React$1.JSX.Element; declare const ActionList: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLUListElement>, {}> & { Item: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { active?: boolean; transitionStatus?: TransitionStatus; }, React$1.DetailedHTMLProps, HTMLLIElement>, {}>; HoverItem: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { active?: boolean; transitionStatus?: TransitionStatus; } & React$1.ClassAttributes & React$1.LiHTMLAttributes & { theme?: import("storybook/theming").Theme; } & { targetId: string; }, {}, {}>; Button: React$1.ForwardRefExoticComponent & React$1.RefAttributes & { theme?: import("storybook/theming").Theme; }, "ref"> & React$1.RefAttributes>; Toggle: React$1.ForwardRefExoticComponent & React$1.RefAttributes & { theme?: import("storybook/theming").Theme; }, "ref"> & React$1.RefAttributes>; Action: StyledComponent & React$1.RefAttributes & { theme?: import("storybook/theming").Theme; }, "ref"> & React$1.RefAttributes & { theme?: import("storybook/theming").Theme; }, {}, {}>; Link: typeof ActionListLink; Text: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; Icon: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; }; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Collapsible/Collapsible.d.ts declare const CollapsibleContent: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { collapsed?: boolean; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const Collapsible: (({ children, summary, collapsed, disabled, initialCollapsed, storageKey, state: providedState, ...props }: { children: ReactNode | ((state: ReturnType) => ReactNode); summary?: ReactNode | ((state: ReturnType) => ReactNode); collapsed?: boolean; disabled?: boolean; initialCollapsed?: boolean; storageKey?: string; state?: ReturnType; } & ComponentProps) => React$1.JSX.Element) & { Content: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { collapsed?: boolean; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; }; declare const useCollapsible: ({ collapsed, disabled, initialCollapsed, storageKey }: { collapsed?: boolean; disabled?: boolean; initialCollapsed?: boolean; storageKey?: string; }) => { contentId: string; isCollapsed: boolean; isDisabled: boolean; setCollapsed: React$1.Dispatch>; toggleCollapsed: (event?: SyntheticEvent) => void; toggleProps: { readonly disabled: boolean | undefined; readonly onClick: (event?: SyntheticEvent) => void; readonly 'aria-controls': string; readonly 'aria-expanded': boolean; }; }; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Card/Card.d.ts type ThemeColor = keyof StorybookTheme['color'] | keyof StorybookTheme['fgColor']; declare const CardContent: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { color?: ThemeColor; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; interface CardProps extends ComponentProps { outlineAnimation?: 'none' | 'rainbow' | 'spin'; color?: ThemeColor; outlineColor?: ThemeColor; outlineAttrs?: DOMAttributes; } declare const Card: React$1.ForwardRefExoticComponent & React$1.RefAttributes> & { Content: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { color?: ThemeColor; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; Outline: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { animation?: 'none' | 'rainbow' | 'spin'; color?: ThemeColor; outlineColor?: ThemeColor; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; }; //#endregion //#region node_modules/@react-types/overlays/src/index.d.ts type Placement$1 = 'bottom' | 'bottom left' | 'bottom right' | 'bottom start' | 'bottom end' | 'top' | 'top left' | 'top right' | 'top start' | 'top end' | 'left' | 'left top' | 'left bottom' | 'start' | 'start top' | 'start bottom' | 'right' | 'right top' | 'right bottom' | 'end' | 'end top' | 'end bottom'; interface PositionProps { /** * The placement of the element with respect to its anchor element. * @default 'bottom' */ placement?: Placement$1; /** * The placement padding that should be applied between the element and its * surrounding container. * @default 12 */ containerPadding?: number; /** * The additional offset applied along the main axis between the element and its * anchor element. * @default 0 */ offset?: number; /** * The additional offset applied along the cross axis between the element and its * anchor element. * @default 0 */ crossOffset?: number; /** * Whether the element should flip its orientation (e.g. top to bottom or left to right) when * there is insufficient room for it to render completely. * @default true */ shouldFlip?: boolean; // /** // * The element that should be used as the bounding container when calculating container offset // * or whether it should flip. // */ // boundaryElement?: Element, /** Whether the element is rendered. */ isOpen?: boolean; } //#endregion //#region node_modules/react-aria-components/dist/types.d.ts interface TextProps extends HTMLAttributes { elementType?: string; } interface HeadingProps extends HTMLAttributes { level?: number; } declare namespace Modal_styled_d_exports { export { Actions, Close, CloseButton, Col, Container, Content, Description, Dialog, Error$1 as Error, ErrorWrapper, Header, Overlay, Row, Title }; } declare const Overlay: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { $status?: TransitionStatus; $transitionDuration?: number; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const Container: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { $variant: 'dialog' | 'bottom-drawer'; $status?: TransitionStatus; $transitionDuration?: number; width?: number | string; height?: number | string; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; interface CloseProps { asChild?: boolean; children?: React$1.ReactElement<{ onClick?: (event: React$1.MouseEvent) => void; }, string | React$1.JSXElementConstructor<{ onClick?: (event: React$1.MouseEvent) => void; }>>; onClick?: (event: React$1.MouseEvent) => void; } declare const Close: ({ asChild, children, onClick, ...props }: CloseProps) => React$1.JSX.Element; declare const Dialog: { Close: () => React$1.JSX.Element; }; declare const CloseButton: ({ ariaLabel, ...props }: React$1.ComponentProps) => React$1.JSX.Element; declare const Content: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const Row: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const Col: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const Header: ({ hasClose, onClose, ...props }: React$1.ComponentProps & { hasClose?: boolean; onClose?: () => void; }) => React$1.JSX.Element; declare const Title: StyledComponent & { theme?: import("storybook/theming").Theme; }, {}, {}>; declare const Description: StyledComponent & { theme?: import("storybook/theming").Theme; }, {}, {}>; declare const Actions: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const ErrorWrapper: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; declare const Error$1: ({ children, ...props }: { children: React$1.ReactNode; } & ComponentProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Modal/Modal.d.ts interface ModalProps extends HTMLAttributes { container?: HTMLElement; portalSelector?: string; /** Width of the Modal. Defaults to `740`. */ width?: number | string; /** Height of the Modal. Defaults to `auto`. */ height?: number | string; /** Modal content. */ children: React$1.ReactNode; /** Additional class names for the Modal. */ className?: string; /** Controlled state: whether the Modal is currently open. */ open?: boolean; /** Uncontrolled state: whether the Modal is initially open on the first. */ defaultOpen?: boolean; /** @deprecated Use `dismissOnEscape` instead. */ onEscapeKeyDown?: (event: KeyboardEvent) => void; /** @deprecated Use `dismissOnInteractOutside` instead. */ onInteractOutside?: (event: FocusEvent | MouseEvent | TouchEvent) => void; /** Handler called when visibility of the Modal changes. */ onOpenChange?: (isOpen: boolean) => void; /** The accessible name for the modal. */ ariaLabel?: string; /** Whether the modal can be dismissed by clicking outside. Defaults to `true`. */ dismissOnClickOutside?: boolean; /** Whether the modal can be dismissed by pressing Escape. Defaults to `true`. */ dismissOnEscape?: boolean; /** Transition duration, so we can slow down transitions on mobile. */ transitionDuration?: number; /** The max dimensions, initial position and animations of the Modal. Defaults to 'dialog'. */ variant?: 'dialog' | 'bottom-drawer'; } declare function BaseModal({ container, portalSelector, children, width, height, ariaLabel, dismissOnClickOutside, dismissOnEscape, className, open, onEscapeKeyDown, onInteractOutside, onOpenChange, defaultOpen, transitionDuration, variant, ...props }: ModalProps): React$1.JSX.Element | null; declare const Modal: typeof BaseModal & typeof Modal_styled_d_exports; /** * Storybook decorator to help render Modals in stories with multiple theme layouts. Internal to * Storybook. Use at your own risk. */ declare const ModalDecorator: DecoratorFunction; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/spaced/Spaced.d.ts interface SpacedProps { children?: React$1.ReactNode; col?: number; row?: number; outer?: number | boolean; } declare const Spaced: ({ col, row, outer, children, ...rest }: SpacedProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/placeholder/placeholder.d.ts interface PlaceholderProps { children?: React$1.ReactNode; } declare const Placeholder: ({ children, ...props }: PlaceholderProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/ScrollArea/ScrollArea.d.ts interface ScrollAreaProps { children?: React$1.ReactNode; horizontal?: boolean; vertical?: boolean; className?: string; offset?: number; scrollbarSize?: number; scrollPadding?: number | string; /** * Set this to define a tabIndex on the scrollable content; only needed when content has no * interactive elements. */ focusable?: boolean; } declare const ScrollArea: React$1.ForwardRefExoticComponent>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Zoom/ZoomElement.d.ts type ZoomProps = { centered?: boolean; scale: number; children: ReactElement | ReactElement[]; }; declare function ZoomElement({ centered, scale, children }: ZoomProps): React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Zoom/ZoomIFrame.d.ts type IZoomIFrameProps = { scale: number; children: ReactElement; iFrameRef: RefObject; active?: boolean; }; declare class ZoomIFrame extends Component { iframe: HTMLIFrameElement; componentDidMount(): void; shouldComponentUpdate(nextProps: IZoomIFrameProps): boolean; setIframeInnerZoom(scale: number): void; setIframeZoom(scale: number): void; render(): React$1.JSX.Element; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Zoom/Zoom.d.ts declare const Zoom: { Element: typeof ZoomElement; IFrame: typeof ZoomIFrame; }; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/ErrorFormatter/ErrorFormatter.d.ts interface ErrorFormatterProps { error: Error; } declare const ErrorFormatter: ({ error }: ErrorFormatterProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Select/helpers.d.ts type Value = string | number | null | boolean | undefined; interface Option { /** Optional rendering of the option. */ children?: React$1.ReactNode; title: string; description?: string; icon?: React$1.ReactNode; aside?: React$1.ReactNode; value: Value; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Select/Select.d.ts interface SelectProps$1 extends Omit { size?: 'small' | 'medium'; padding?: 'small' | 'medium' | 'none'; /** * Whether multiple options can be selected. In single select mode, this component acts like a * HTML select element where the selected option follows focus. In multi select mode, it acts like * a combobox and does not autoclose on select or autoselect the focused option. */ multiSelect?: boolean; /** * Mandatory label that explains what is being selected. Do not include "change", "toggle" or * "select" verbs in the label. Instead, only describe the type of content with a noun. */ ariaLabel: string; /** * Label for the Select component. In single-select mode, is replaced by the currently selected * option's title. */ children?: React$1.ReactNode; /** * Icon shown next to the Select's children, still displayed when a value is selected and Select * shows that value instead of children. */ icon?: React$1.ReactNode; /** Whether the Select is currently disabled. */ disabled?: boolean; /** Options available in the select. */ options: Option[]; /** IDs of the preselected options. */ defaultOptions?: Value | Value[]; /** Whether the Select should render open. */ defaultOpen?: boolean; /** When set, a reset option is rendered in the Select listbox. */ onReset?: () => void; /** Custom text label for the reset option when it exists. */ resetLabel?: string; onSelect?: (option: Value) => void; onDeselect?: (option: Value) => void; onChange?: (selected: Value[]) => void; /** * Legacy option for ToolbarMenuSelect. Do not use in new code. Controls whether to show the * selected option's title. * * @default true */ showSelectedOptionTitle?: boolean; } declare const Select: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/styles.d.ts type Sizes = '100%' | 'flex' | 'auto'; type Alignments = 'end' | 'center' | 'start'; type ValidationStates = 'valid' | 'error' | 'warn'; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/Textarea.d.ts /** * These types are copied from `react-textarea-autosize`. I copied them because of * https://github.com/storybookjs/storybook/issues/18734 Maybe there's some bug in `tsup` or * `react-textarea-autosize`? */ type TextareaPropsRaw = React$1.TextareaHTMLAttributes; type Style = Omit, 'maxHeight' | 'minHeight'> & { height?: number; }; type TextareaHeightChangeMeta = { rowHeight: number; }; interface TextareaAutosizeProps extends Omit { maxRows?: number; minRows?: number; onHeightChange?: (height: number, meta: TextareaHeightChangeMeta) => void; cacheMeasurements?: boolean; style?: Style; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/Checkbox.d.ts declare const Checkbox: (props: React$1.InputHTMLAttributes) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/Field.d.ts interface FieldProps { children?: ReactNode; label?: ReactNode; } declare const Field: ({ label, children, ...props }: FieldProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/Radio.d.ts declare const Radio: (props: React$1.InputHTMLAttributes) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/Select.d.ts type SelectProps = Omit, keyof { size?: Sizes; align?: Alignments; valid?: ValidationStates; height?: number; }> & { size?: Sizes; align?: Alignments; valid?: ValidationStates; height?: number; }; declare const Select$1: ({ children, ...props }: SelectProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Form/Form.d.ts declare const Form: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLFormElement>, {}> & { Field: typeof Field; Input: StyledComponent, "align" | "height" | "size" | "valid"> & { size?: Sizes; align?: Alignments; valid?: ValidationStates; height?: number; suffix?: string; }, "ref"> & import("react").RefAttributes & { theme?: import("storybook/theming").Theme; } & Omit, "align" | "height" | "size" | "valid"> & { size?: Sizes; align?: Alignments; valid?: ValidationStates; height?: number; suffix?: string; }, {}, {}> & { displayName: string; }; Select: typeof Select$1; Textarea: StyledComponent & { size?: Sizes; align?: Alignments; valid?: ValidationStates; height?: number; } & import("react").RefAttributes, "ref"> & import("react").RefAttributes & { theme?: import("storybook/theming").Theme; } & Omit & { size?: Sizes; align?: Alignments; valid?: ValidationStates; height?: number; } & import("react").RefAttributes, {}, {}> & { displayName: string; }; Button: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; Checkbox: typeof Checkbox; Radio: typeof Radio; }; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/shared/overlayHelpers.d.ts type BasicPlacement = 'top' | 'bottom' | 'left' | 'right'; type PlacementWithModifier = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end'; type PopperPlacement = BasicPlacement | PlacementWithModifier; declare const convertToReactAriaPlacement: (p: PopperPlacement) => NonNullable; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Popover/Popover.d.ts interface PopoverProps extends HTMLAttributes { /** Content of the popover. */ children: React$1.ReactNode; /** Preset popover color taken from the theme, affecting both bathground and foreground. */ color?: 'default' | 'inverse' | 'positive' | 'negative' | 'warning' | 'none'; /** Whether the popover is rendered with a decorative window-like appearance. */ hasChrome: boolean; /** Optional callback connected to a close button. Then button is shown only when passed. */ onHide?: () => void; /** Optional custom label for the close button, if there is one. */ hideLabel?: string; /** Padding between the content and popover edge. */ padding?: number | string; } declare const Popover: React$1.ForwardRefExoticComponent>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Popover/PopoverProvider.d.ts interface PopoverProviderProps { /** * An accessible label for the popover dialog, announced by screen readers. This prop will become * mandatory in Storybook 11. Provide a concise description of the popover's purpose. */ ariaLabel?: string; /** Whether to display the Popover in a prestyled container. True by default. */ hasChrome?: boolean; /** * Whether to display a close button in the top right corner of the popover overlay. Can overlap * with overlay content, make sure to test your use case. False by default. */ hasCloseButton?: boolean; /** Optional custom label for the close button, if there is one. */ closeLabel?: string; /** Optional custom padding for the popover overlay. */ padding?: number | string; /** Distance between the trigger and Popover. Customize only if you have a good reason to. */ offset?: number; /** * Placement of the Popover. Start and End variants involve additional JS dimension calculations * and should be used sparingly. Left and Right get inverted in RTL. */ placement?: PopperPlacement; /** * Popover content. Pass a function to receive a onHide callback to collect to your close button, * or if you want to wait for the popover to be opened to call your content component. */ popover: ReactNode | ((props: { onHide: () => void; }) => ReactNode); /** Popover trigger, must be a single child with click/press events. Must forward refs. */ children: ReactElement, string>; /** Uncontrolled state: whether the Popover is initially visible. */ defaultVisible?: boolean; /** Controlled state: whether the Popover is visible. */ visible?: boolean; /** Controlled state: fires when user interaction causes the Popover to change visibility. */ onVisibleChange?: (isVisible: boolean) => void; } declare const PopoverProvider: ({ ariaLabel, placement: placementProp, hasChrome, hasCloseButton, closeLabel, offset, padding, popover, children, defaultVisible, visible, onVisibleChange, ...props }: PopoverProviderProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/Tooltip.d.ts type TooltipProps = Omit; declare const Tooltip: React$1.ForwardRefExoticComponent>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/TooltipNote.d.ts interface TooltipNoteProps { note: string; } declare const TooltipNote: ({ note, ...props }: TooltipNoteProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/TooltipProvider.d.ts interface TooltipProviderProps { /** Tooltips trigger on hover and focus by default. To trigger on focus only, set this to `true`. */ triggerOnFocusOnly?: boolean; /** Distance between the trigger and tooltip. Customize only if you have a good reason to. */ offset?: number; /** * Placement of the tooltip. Start and End variants involve additional JS dimension calculations * and should be used sparingly. Left and Right get inverted in RTL. */ placement?: PopperPlacement; /** Tooltip content */ tooltip: ReactNode; /** Tooltip trigger, must be a single child that can receive focus and click/key events. */ children: ReactElement, string>; /** Delay before showing the tooltip, defaults to 200ms. Always instant on focus. */ delayShow?: number; /** Delay before hiding the tooltip, defaults to 400ms. */ delayHide?: number; /** Uncontrolled state: whether the tooltip is visible by default. */ defaultVisible?: boolean; /** Deprecated property - use defaultVisible instead. */ startOpen?: boolean; /** Controlled state: whether the tooltip is visible. */ visible?: boolean; /** Controlled state: fires when user interaction causes the tooltip to change visibility. */ onVisibleChange?: (isVisible: boolean) => void; } declare const TooltipProvider: ({ triggerOnFocusOnly, placement: placementProp, offset, tooltip, children, defaultVisible, startOpen, delayShow, delayHide, visible, onVisibleChange, ...props }: TooltipProviderProps) => React$1.JSX.Element; //#endregion //#region node_modules/@popperjs/core/lib/enums.d.ts declare const top: "top"; declare const bottom: "bottom"; declare const right: "right"; declare const left: "left"; declare type BasePlacement = typeof top | typeof bottom | typeof right | typeof left; declare type VariationPlacement = "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"; declare type AutoPlacement = "auto" | "auto-start" | "auto-end"; declare type Placement = AutoPlacement | BasePlacement | VariationPlacement; declare const beforeRead: "beforeRead"; declare const read: "read"; declare const afterRead: "afterRead"; declare const beforeMain: "beforeMain"; declare const main: "main"; declare const afterMain: "afterMain"; declare const beforeWrite: "beforeWrite"; declare const write: "write"; declare const afterWrite: "afterWrite"; declare type ModifierPhases = typeof beforeRead | typeof read | typeof afterRead | typeof beforeMain | typeof main | typeof afterMain | typeof beforeWrite | typeof write | typeof afterWrite; //#endregion //#region node_modules/@popperjs/core/lib/types.d.ts declare type Obj = { [key: string]: any; }; declare type VisualViewport = EventTarget & { width: number; height: number; offsetLeft: number; offsetTop: number; scale: number; }; declare type Window = { innerHeight: number; offsetHeight: number; innerWidth: number; offsetWidth: number; pageXOffset: number; pageYOffset: number; getComputedStyle: typeof getComputedStyle; addEventListener(type: any, listener: any, optionsOrUseCapture?: any): void; removeEventListener(type: any, listener: any, optionsOrUseCapture?: any): void; Element: Element; HTMLElement: HTMLElement; Node: Node; toString(): "[object Window]"; devicePixelRatio: number; visualViewport?: VisualViewport; ShadowRoot: ShadowRoot; }; declare type Rect = { width: number; height: number; x: number; y: number; }; declare type Offsets = { y: number; x: number; }; declare type PositioningStrategy = "absolute" | "fixed"; declare type StateRects = { reference: Rect; popper: Rect; }; declare type OffsetData = { [key in Placement]?: Offsets }; declare type State = { elements: { reference: Element | VirtualElement; popper: HTMLElement; arrow?: HTMLElement; }; options: OptionsGeneric; placement: Placement; strategy: PositioningStrategy; orderedModifiers: Array>; rects: StateRects; scrollParents: { reference: Array; popper: Array; }; styles: { [key: string]: Partial; }; attributes: { [key: string]: { [key: string]: string | boolean; }; }; modifiersData: { arrow?: { x?: number; y?: number; centerOffset: number; }; hide?: { isReferenceHidden: boolean; hasPopperEscaped: boolean; referenceClippingOffsets: SideObject; popperEscapeOffsets: SideObject; }; offset?: OffsetData; preventOverflow?: Offsets; popperOffsets?: Offsets; [key: string]: any; }; reset: boolean; }; declare type SetAction = S | ((prev: S) => S); declare type Instance = { state: State; destroy: () => void; forceUpdate: () => void; update: () => Promise>; setOptions: (setOptionsAction: SetAction>>) => Promise>; }; declare type ModifierArguments = { state: State; instance: Instance; options: Partial; name: string; }; declare type Modifier = { name: Name; enabled: boolean; phase: ModifierPhases; requires?: Array; requiresIfExists?: Array; fn: (arg0: ModifierArguments) => State | void; effect?: (arg0: ModifierArguments) => (() => void) | void; options?: Partial; data?: Obj; }; declare type Options$1 = { placement: Placement; modifiers: Array>>; strategy: PositioningStrategy; onFirstUpdate?: (arg0: Partial) => void; }; declare type OptionsGeneric = { placement: Placement; modifiers: Array; strategy: PositioningStrategy; onFirstUpdate?: (arg0: Partial) => void; }; declare type SideObject = { top: number; left: number; right: number; bottom: number; }; declare type VirtualElement = { getBoundingClientRect: () => ClientRect | DOMRect; contextElement?: Element; }; //#endregion //#region node_modules/@popperjs/core/lib/popper.d.ts declare const createPopper: >>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial>) => Instance; //#endregion //#region node_modules/react-popper-tooltip/dist/types.d.ts declare type TriggerType = 'click' | 'double-click' | 'right-click' | 'hover' | 'focus'; declare type Config = { /** * Whether to close the tooltip when its trigger is out of boundary * @default false */ closeOnTriggerHidden?: boolean; /** * Event or events that trigger the tooltip * @default hover */ trigger?: TriggerType | TriggerType[] | null; /** * Delay in hiding the tooltip (ms) * @default 0 */ delayHide?: number; /** * Delay in showing the tooltip (ms) * @default 0 */ delayShow?: number; /** * Whether to make the tooltip spawn at cursor position * @default false */ followCursor?: boolean; /** * Options to MutationObserver, used internally for updating * tooltip position based on its DOM changes * @default { attributes: true, childList: true, subtree: true } */ mutationObserverOptions?: MutationObserverInit | null; /** * Whether tooltip is shown by default * @default false */ defaultVisible?: boolean; /** * Used to create controlled tooltip */ visible?: boolean; /** * Called when the visibility of the tooltip changes */ onVisibleChange?: (state: boolean) => void; /** * If `true`, a click outside the trigger element closes the tooltip * @default true */ closeOnOutsideClick?: boolean; /** * If `true`, hovering the tooltip will keep it open. Normally tooltip closes when the mouse cursor moves out of * the trigger element. If it moves to the tooltip element, the tooltip stays open. * @default false */ interactive?: boolean; /** * Alias for popper.js placement, see https://popper.js.org/docs/v2/constructors/#placement */ placement?: Placement; /** * Shorthand for popper.js offset modifier, see https://popper.js.org/docs/v2/modifiers/offset/ * @default [0, 6] */ offset?: [number, number]; }; declare type PopperOptions = Partial & { createPopper?: typeof createPopper; }; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/WithTooltip.d.ts declare const TargetContainer: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { trigger: Config['trigger']; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; interface WithHideFn { onHide: () => void; } interface WithTooltipPureProps extends Omit, Omit, 'trigger'>, PopperOptions { svg?: boolean; withArrows?: boolean; hasChrome?: boolean; tooltip: ReactNode | ((p: WithHideFn) => ReactNode); children: ReactNode; onDoubleClick?: () => void; /** * If `true`, a click outside the trigger element closes the tooltip * * @default false */ closeOnOutsideClick?: boolean; /** * Optional container to portal the tooltip into. Can be a CSS selector string or a DOM Element. * Falls back to document.body. */ portalContainer?: Element | string | null; } interface WithTooltipStateProps extends Omit { startOpen?: boolean; onVisibleChange?: (visible: boolean) => void | boolean; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/lazy-WithTooltip.d.ts declare const LazyWithTooltip: React$1.LazyExoticComponent<({ startOpen, onVisibleChange: onChange, ...rest }: WithTooltipStateProps) => React$1.JSX.Element>; declare const WithTooltip: (props: ComponentProps) => React$1.JSX.Element; declare const LazyWithTooltipPure: React$1.LazyExoticComponent>; declare const WithTooltipPure: (props: ComponentProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/TooltipMessage.d.ts interface TooltipMessageProps { title?: ReactNode; desc?: ReactNode; links?: { title: string; href?: string; onClick?: () => void; }[]; } declare const TooltipMessage: ({ title, desc, links }: TooltipMessageProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/ListItem.d.ts interface ItemProps { disabled?: boolean; href?: string; onClick?: (event: SyntheticEvent, ...args: any[]) => any; } declare const Item: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & ItemProps, React$1.DetailedHTMLProps, HTMLButtonElement>, {}>; type LinkWrapperType = (props: any) => ReactNode; interface ListItemProps extends Omit, 'title'> { loading?: boolean; title?: ReactNode; center?: ReactNode; right?: ReactNode; icon?: ReactNode; input?: ReactNode; active?: boolean; disabled?: boolean; href?: string; LinkWrapper?: LinkWrapperType; isIndented?: boolean; } declare const ListItem: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/tooltip/TooltipLinkList.d.ts declare const List: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; interface NormalLink extends Omit { id: string; onClick?: (event: SyntheticEvent, item: Pick) => void; } type Link$1 = CustomLink | NormalLink; /** * This is a custom link that can be used in the `TooltipLinkList` component. It allows for custom * content to be rendered in the list; it does not have to be a link. */ interface CustomLink { id: string; content: ReactNode; } interface TooltipLinkListProps extends ComponentProps { links: Link$1[] | Link$1[][]; LinkWrapper?: LinkWrapperType; } declare const TooltipLinkList: ({ links, LinkWrapper, ...props }: TooltipLinkListProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/Tabs.d.ts declare const TabBar: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface TabWrapperProps { active: boolean; render?: () => ReactElement; children?: ReactNode; } declare const TabWrapper: React$1.ForwardRefExoticComponent>; interface TabsProps { children?: ReactElement<{ children: FC; title: ReactNode | FC; }>[]; id?: string; tools?: ReactNode; showToolsWhenEmpty?: boolean; emptyState?: ReactNode; selected?: string; actions?: { onSelect: (id: string) => void; } & Record; backgroundColor?: string; absolute?: boolean; bordered?: boolean; menuName?: string; } declare const Tabs: FC; interface TabsStateProps { children: TabsProps['children']; initial: string; absolute: boolean; bordered: boolean; backgroundColor: string; menuName: string; } interface TabsStateState { selected: string; } declare class TabsState extends Component { static defaultProps: TabsStateProps; constructor(props: TabsStateProps); handlers: { onSelect: (id: string) => void; }; render(): React$1.JSX.Element; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/Button.d.ts interface TabButtonProps extends ButtonHTMLAttributes { active?: boolean; children: ReactNode; id?: string; textColor?: string; } declare const TabButton: ForwardRefExoticComponent>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Bar/Separator.d.ts interface SeparatorProps { force?: boolean; } declare const Separator: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & SeparatorProps, React$1.DetailedHTMLProps, HTMLSpanElement>, {}>; declare const interleaveSeparators: (list: any[]) => any; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Bar/Bar.d.ts interface BarProps { backgroundColor?: string; border?: boolean; className?: string; children?: React$1.ReactNode; scrollable?: boolean; innerStyle?: CSSObject; } declare const Bar: React$1.ForwardRefExoticComponent>; interface FlexBarProps extends BarProps { border?: boolean; backgroundColor?: string; } declare function FlexBar({ children, backgroundColor, className, ...rest }: FlexBarProps): React$1.JSX.Element; declare namespace FlexBar { var displayName: string; } //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/EmptyTabContent.d.ts interface Props { title: React$1.ReactNode; description?: React$1.ReactNode; footer?: React$1.ReactNode; } declare const EmptyTabContent: ({ title, description, footer }: Props) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/addon-panel/addon-panel.d.ts interface AddonPanelProps { active: boolean; children: ReactElement; /** Whether the panel has a vertical scrollbar, `true` by default. */ hasScrollbar?: boolean; /** Whether the panel has an horizontal scrollbar, `false` by default */ hasHorizontalScrollbar?: boolean; } declare const AddonPanel: ({ active, children, hasScrollbar, hasHorizontalScrollbar }: AddonPanelProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Toolbar/Toolbar.d.ts interface AbstractToolbarProps { className?: string; children?: React$1.ReactNode; 'aria-label'?: string; 'aria-labelledby'?: string; lang?: string; } declare const AbstractToolbar: FC; interface ToolbarProps extends AbstractToolbarProps, BarProps {} declare const Toolbar: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/TabPanel.d.ts interface TabPanelProps extends HTMLAttributes { /** The state of the tab list. Primary mechanism for using the tabpanel. */ state: ReturnType; /** * Whether the panel adds a vertical scrollbar. Disable if you want to use fixed or sticky * positioning on part of the tab's content. True by default. */ hasScrollbar?: boolean; /** * Whether to render only the active tab's content, or all tabs. When true, non-selected tabs are * rendered with the hidden attribute and do not affect the accessibility object model. */ renderAllChildren?: boolean; } declare const TabPanel: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/TabsView.d.ts interface TabProps { id: string; 'aria-label'?: string; title: FC | ReactNode | string; children?: FC | ReactNode; isDisabled?: boolean; } interface useTabsStateProps { defaultSelected?: string; selected?: string; onSelectionChange?: (key: string) => void; tabs: TabProps[]; } declare const useTabsState: ({ defaultSelected, onSelectionChange, selected, tabs }: useTabsStateProps) => unknown; interface TabsViewProps extends HTMLAttributes { /** List of tabs and their associated panel. */ tabs: TabProps[]; /** ID of the tab that should be selected on first render. */ defaultSelected?: string; /** ID of the current tab if in controlled rendering mode. */ selected?: string; /** Called when the selected tab changes, use if you want to control the component state. */ onSelectionChange?: (key: string) => void; /** * Optional tools to avoid rendering two toolbars in a layout. * * @warning Only use this if the tools act upon the entire layout, * not upon a single tab panel. If you want to edit which tools are * visible based on the current tab, then you musn't use `tools` and * should handle your own toolbar inside the tabpanel instead. */ tools?: ReactElement; /** Background color for the bar containing the tabs and tools. */ backgroundColor?: string; /** Style properties for the inner layout container in the bar containing the tabs and tools. */ barInnerStyle?: React$1.CSSProperties; /** Show tools instead of the empty state if there are no tabs. */ showToolsWhenEmpty?: boolean; /** Custom UI for the empty state shown when there are no tabs. */ emptyState?: ReactNode; /** Optional ID. */ id?: string; /** Props to pass to the TabPanel component. */ panelProps?: Omit, 'state'>; } declare const TabsView: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/TabList.d.ts interface TabListProps extends HTMLAttributes { state: ReturnType; } declare const TabList: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/StatelessTabList.d.ts interface StatelessTabListProps { children?: ReactNode; } declare const StatelessTabList: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/StatelessTabPanel.d.ts interface StatelessTabPanelProps { /** Content of the tab panel. */ children: ReactNode; /** Unique id of the TabPanel, must match that of its corresponding Tab. */ name: string; /** * Whether the panel adds a vertical scrollbar. Disable if you want to use fixed or sticky * positioning on part of the tab's content. True by default. */ hasScrollbar?: boolean; } declare const StatelessTabPanel: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/StatelessTabsView.d.ts interface StatelessTabsViewProps extends Omit { children: ReactNode; } declare const StatelessTabsView: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Tabs/StatelessTab.d.ts interface StatelessTabProps { /** Unique id of the Tab, must match that of its corresponding TabPanel. */ name: string; /** Tab button content */ children: React$1.ReactNode; } declare const StatelessTab: FC; //#endregion //#region code/core/.dts-emit/code/core/src/components/brand/StorybookLogo.d.ts type StorybookLogoProps = { alt: string; } & React$1.SVGAttributes; declare const StorybookLogo: ({ alt, ...props }: StorybookLogoProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/brand/StorybookIcon.d.ts declare const StorybookIcon: (props: React$1.SVGAttributes) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/Loader/Loader.d.ts interface Progress { value: number; message: string; modules?: { complete: number; total: number; }; } interface LoaderProps extends React$1.HTMLAttributes { progress?: Progress; error?: Error; size?: number; } declare const Loader: ({ progress, error, size, ...props }: LoaderProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/ProgressSpinner/ProgressSpinner.d.ts declare const Wrapper: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React$1.ElementType; } & { size: number; }, React$1.DetailedHTMLProps, HTMLDivElement>, {}>; interface ProgressSpinnerProps extends Omit, 'size'> { percentage?: number; running?: boolean; size?: number; width?: number; children?: React$1.ReactNode; } declare const ProgressSpinner: ({ percentage, running, size, width, children, ...props }: ProgressSpinnerProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/utils/getStoryHref.d.ts /** @deprecated Use the api.getStoryHrefs method instead (from `storybook/manager-api`) */ declare const getStoryHref: (baseUrl: string, storyId: string, additionalParams?: Record) => string; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/DocumentFormatting.d.ts declare const nameSpaceClassNames: ({ ...props }: { [x: string]: any; }, key: string) => { [x: string]: any; }; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/ResetWrapper.d.ts /** * This is a "local" reset to style subtrees with Storybook styles * * We can't style individual elements (e.g. h1, h2, etc.) in here because the CSS specificity is too * high, so those styles can too easily override child elements that are not expecting it. */ declare const ResetWrapper: StyledComponent<{ theme?: import("storybook/theming").Theme; as?: React.ElementType; }, import("react").DetailedHTMLProps, HTMLDivElement>, {}>; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/typography/lib/common.d.ts declare const codeCommon: FunctionInterpolation; declare const withReset: FunctionInterpolation; //#endregion //#region code/core/.dts-emit/code/core/src/components/components/clipboard/ClipboardCode.d.ts interface ClipboardCodeProps { code: string; } declare const ClipboardCode: ({ code, ...props }: ClipboardCodeProps) => React$1.JSX.Element; //#endregion //#region code/core/.dts-emit/code/core/src/shared/useCopyButton.d.ts interface UseCopyButtonOptions { /** Content shown in the button by default. */ children?: T; /** Content shown in the button for `duration` ms after a successful copy. */ childrenOnCopy?: T; /** Text written to the clipboard when the button is clicked. */ content: string; /** Optional side-effect called after the text is successfully written to the clipboard. */ onCopy?: (e: SyntheticEvent) => void; /** aria-label for the button in its default state. Pass `false` to suppress. */ ariaLabel?: false | string; /** aria-label for the button while in its "copied" state. Pass `false` to suppress. */ ariaLabelOnCopy?: false | string; /** Duration in milliseconds to show the copied state. Defaults to 3000. */ duration?: number; } interface UseCopyButtonResult { /** Current label/icon — switches to `childrenOnCopy` after a copy. */ children: T; /** Props to spread onto the `