import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { FloatingSheetSide } from '../../lib/floating-sheet-panel.js'; export { FLOATING_SHEET_CHROME_CLASS, FLOATING_SHEET_COMPACT_WIDTH, FLOATING_SHEET_DESKTOP_WIDTH, floatingSheetWidthClass, getFloatingSheetInsetProps, useCompactFloatingSheet } from '../../lib/floating-sheet-panel.js'; import { Sheet, SheetContent } from './sheet.js'; import 'radix-ui'; /** Controlled floating sheet root — alias of `Sheet`. */ declare function FloatingSheetPanel(props: React.ComponentProps): react_jsx_runtime.JSX.Element; interface FloatingSheetPanelContentProps extends Omit, "side" | "showCloseButton" | "showOverlay"> { /** Rail edge. Default `right`. */ side?: FloatingSheetSide; /** Applied to `SheetContent` as `data-slot` (e.g. `export-drawer`). */ contentSlot?: string; } declare function FloatingSheetPanelContent({ side, className, style, contentSlot, children, ...props }: FloatingSheetPanelContentProps): react_jsx_runtime.JSX.Element; interface FloatingSheetPanelHeaderProps { /** Required accessible title — renders as `SheetTitle`. */ title: React.ReactNode; /** Muted line under the title (Properties lifecycle label). */ subtitle?: React.ReactNode; /** Helper copy below the header row (`SheetDescription`). */ description?: React.ReactNode; onClose?: () => void; closeLabel?: string; className?: string; titleClassName?: string; /** Extra classes on the close-button `Tip` (e.g. Properties sheet z-index). */ closeTipClassName?: string; closeTipZIndex?: number; } declare function FloatingSheetPanelHeader({ title, subtitle, description, onClose, closeLabel, className, titleClassName, closeTipClassName, closeTipZIndex, }: FloatingSheetPanelHeaderProps): react_jsx_runtime.JSX.Element; interface FloatingSheetPanelBodyProps extends React.ComponentProps<"div"> { } declare function FloatingSheetPanelBody({ className, children, ...props }: FloatingSheetPanelBodyProps): react_jsx_runtime.JSX.Element; interface FloatingSheetPanelFooterProps extends React.ComponentProps<"div"> { } declare function FloatingSheetPanelFooter({ className, children, ...props }: FloatingSheetPanelFooterProps): react_jsx_runtime.JSX.Element; interface FloatingSheetPanelWorkflowFooterProps { cancelLabel?: string; onCancel: () => void; primaryLabel: React.ReactNode; /** When set, primary button uses `type="submit"` + `form={primaryForm}`. */ primaryForm?: string; /** Invoked by ⌘/plain Enter shortcut while the sheet is open. */ onPrimary?: () => void; primaryDisabled?: boolean; primaryLoading?: boolean; primaryLoadingLabel?: React.ReactNode; primaryIconClassName?: string; className?: string; } declare function FloatingSheetPanelWorkflowFooter({ cancelLabel, onCancel, primaryLabel, primaryForm, onPrimary, primaryDisabled, primaryLoading, primaryLoadingLabel, primaryIconClassName, className, }: FloatingSheetPanelWorkflowFooterProps): react_jsx_runtime.JSX.Element; export { FloatingSheetPanel, FloatingSheetPanelBody, type FloatingSheetPanelBodyProps, FloatingSheetPanelContent, type FloatingSheetPanelContentProps, FloatingSheetPanelFooter, type FloatingSheetPanelFooterProps, FloatingSheetPanelHeader, type FloatingSheetPanelHeaderProps, FloatingSheetPanelWorkflowFooter, type FloatingSheetPanelWorkflowFooterProps, FloatingSheetSide };