import { ComponentPropsWithoutRef } from 'react'; import { DrillDownContextProps } from '../DrillDown/internal/DrillDownContext'; /** * Props for the PagePanel component * @extends ComponentPropsWithoutRef<"div"> */ export type PagePanelProps = ComponentPropsWithoutRef<"div"> & { /** * Whether the panel is open * @default true */ open?: boolean; /** * Size of the panel * @default "medium" */ size?: "small" | "medium" | "large"; /** * Whether to remove default padding from the panel * @default false */ noPadding?: boolean; /** * Sets the default DrillDown index when used in an uncontrolled way */ defaultDrillDownIndex?: DrillDownContextProps["index"]; /** * Callback to pass context to useDrillDown hook */ onDrillDownContextChange?: (context: DrillDownContextProps) => void; }; /** * PagePanel component for creating slide-out panels or dialogs. * * Features: * - Responsive design with dialog fallback on mobile * - Multiple size variants (small, medium, large) * - Optional padding control * - Persistent or controlled open state * - Automatic mobile dialog conversion * - Keyboard navigation and accessibility support * - Smooth animations and transitions * * @example * * Panel Content * * */ export declare const PagePanel: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { /** * Whether the panel is open * @default true */ open?: boolean; /** * Size of the panel * @default "medium" */ size?: "small" | "medium" | "large"; /** * Whether to remove default padding from the panel * @default false */ noPadding?: boolean; /** * Sets the default DrillDown index when used in an uncontrolled way */ defaultDrillDownIndex?: DrillDownContextProps["index"]; /** * Callback to pass context to useDrillDown hook */ onDrillDownContextChange?: (context: DrillDownContextProps) => void; } & import('react').RefAttributes>;