import type { ModalStackModalProps } from "./ModalStack.types";
export interface ModalStackModalInternalProps extends ModalStackModalProps {
    /** Injected by ModalStack — the stack-level close handler */
    _stackOnClose?: () => void;
    /** Injected by ModalStack — whether this is the back modal */
    _isBackModal?: boolean;
}
export declare const ModalStackModal: {
    ({ size, variant, showCloseButton, showBackButton, onClose, onBack, children, className, theme: themeOverrides, _stackOnClose, _isBackModal, }: ModalStackModalInternalProps): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
