import { TrayTriggerProps } from "./TrayTrigger.cjs"; import { TrayHeaderProps } from "./TrayHeader.cjs"; import { TrayTitleProps } from "./TrayTitle.cjs"; import { TrayDescriptionProps } from "./TrayDescription.cjs"; import { TrayContentProps } from "./TrayContent.cjs"; import { TrayActionsProps } from "./TrayActions.cjs"; import { ReactNode, Ref } from "react"; import RAC from "react-aria-components"; export interface TrayProps extends Omit { /** * Whether the overlay is open (controlled). * @default undefined */ open?: boolean; /** * Handler called when the open state changes. */ onOpenChange?: (isOpen: boolean) => void; /** * Whether clicking outside closes the tray. * @default true */ dismissable?: boolean; /** * Whether pressing the escape key closes the tray. * @default true */ keyboardDismissable?: boolean; /** * Children of the tray. */ children?: ReactNode; /** * Ref to the tray's dialog element. */ ref?: Ref; } export declare const Tray: { ({ open, onOpenChange, dismissable, keyboardDismissable, children, "aria-label": ariaLabel, ref, ...props }: TrayProps): import("react").JSX.Element; Trigger: ({ open, children, ...props }: TrayTriggerProps) => string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react").JSX.Element | null | undefined; Header: ({ children }: TrayHeaderProps) => import("react").JSX.Element; Title: ({ children }: TrayTitleProps) => import("react").JSX.Element; Description: ({ children }: TrayDescriptionProps) => import("react").JSX.Element; Content: ({ children, className }: TrayContentProps) => import("react").JSX.Element; Actions: ({ children }: TrayActionsProps) => import("react").JSX.Element; };