import React from "react";
import type { OverridableComponent } from "../utils-external";
/**
 * @deprecated Use Box with padding and border instead
 */
export interface PanelProps extends React.HTMLAttributes<HTMLElement> {
    /**
     * Panel content
     */
    children: React.ReactNode;
    /**
     * Adds a border to panel when true
     * @default false
     */
    border?: boolean;
}
export type PanelType = OverridableComponent<PanelProps, HTMLElement>;
/**
 * @deprecated
 * Use Box with padding and border instead
 * ```
 * <Box padding="space-16" borderRadius="2" />
 * <Box padding="space-16" borderWidth="1" borderRadius="2" />
 * ```
 * Component will be removed in a future major release
 */
export declare const Panel: PanelType;
export default Panel;
