import React from "react";
import type { OverlayProps } from "./Overlay.types";
/**
 * Shared Overlay Component
 *
 * Provides consistent overlay behavior (backdrop, portal, animations, escape key, scroll lock)
 * across Modal, Drawer, CommandPalette, and other overlay-based components.
 *
 * Features:
 * - Portal rendering to document.body
 * - Configurable positioning (center, top, bottom, left, right, none)
 * - Customizable animations
 * - Body scroll lock when open
 * - Escape key to close
 * - Click outside to close
 * - Accessible by default
 *
 * @example
 * ```tsx
 * <Overlay
 *   isOpen={isOpen}
 *   onClose={onClose}
 *   position="center"
 * >
 *   <div className="bg-white rounded-lg p-6">
 *     Modal content
 *   </div>
 * </Overlay>
 * ```
 */
export declare const Overlay: React.ForwardRefExoticComponent<OverlayProps & React.RefAttributes<HTMLDivElement>>;
