import { FC, ReactNode } from "react";

//#region src/components/RightDrawer/RightDrawer.d.ts
/**
 * Configuration for the back button functionality in the RightDrawer
 *
 * @interface BackButtonProps
 */
type BackButtonProps = {
  /** Callback function triggered when the back button is clicked */onBack: () => void; /** Optional custom text for the back buttoDefaults to "Go back" if not provided */
  text?: string;
};
/**
 * Props configuration for the RightDrawer component
 *
 * @interface RightDrawerProps
 */
type RightDrawerProps = {
  /**
   * Title displayed in the drawer header
   */
  title?: ReactNode;
  /**
   * Unique identifier for the drawer instancRequired for store management
   */
  identifier: string; /** The content to be displayed inside the drawer */
  children?: ReactNode;
  /**
   * Optional header content displayed below the title
   */
  header?: ReactNode;
  /**
   * Optional footer content pinned to the bottom of the drawer
   */
  footer?: ReactNode;
  /**
   * Whether the drawer should close when clicking outside of it
   * @default true
   */
  closeOnOutsideClick?: boolean;
  /**
   * Configuration for an optional back button in the drawer header
   */
  backButton?: BackButtonProps;
  /**
   * External control for the open statWhen provided, overrides internal store state
   */
  isOpen?: boolean;
  /**
   * Callback function triggered when the drawer is closed
   */
  onClose?: () => void;
};
declare const RightDrawer: FC<RightDrawerProps>;
//#endregion
export { RightDrawer };
//# sourceMappingURL=RightDrawer.d.ts.map