/// <reference types="react" />
import { IModalAlert, IModal } from '../types';
export interface ModalDefaultProps {
    closeOnOverlayClick?: IModal['closeOnOverlayClick'];
    fixedSubtitle?: IModal['fixedSubtitle'];
    withoutMargin?: IModal['withoutMargin'];
    scrollBehavior?: IModal['scrollBehavior'];
    fixedButtons?: IModal['fixedButtons'];
}
type BaseProps = ModalDefaultProps & {
    isOpen: boolean;
    onClose: () => void;
    autoFocus?: boolean;
};
type ModalProps = BaseProps & {
    type: 'modal';
    title?: string;
    children: React.ReactNode;
};
type ModalAlertProps = BaseProps & {
    type: 'modalAlert' | 'modalLoading';
    title?: string;
    description?: string;
    status?: IModalAlert['status'];
    children?: React.ReactNode;
};
export type ModalMultipleProps = ModalProps | ModalAlertProps;
/**
 *
 * @example
 * <ModalMultiple
    type={type}
    isOpen={open}
    onClose={() => setOpen(false)}
    title={type === 'modal' ? 'Confirmación' : '¿Seguro que deseas borrar esta pregunta?'}
    status="info"
    description="Por favor escoge otro horario."
  >
    {type === 'modal' ? (
      <ModalContent>
        <p>
          alumnos, además de definir el uso de la plataforma de estudio.
        </p>
        <ModalButtons>
          <BtnPrimary onClick={() => setType('modalAlert')}>Guardar</BtnPrimary>
          <BtnSecondary onClick={() => setOpen(false)}>Cancelar</BtnSecondary>
        </ModalButtons>
      </ModalContent>
    ) : (
      <ModalAlertButtons>
        <BtnLink as="button" onClick={() => setType('modal')}>
          Aceptar
        </BtnLink>
        <BtnLink as="button" onClick={() => setOpen(false)}>
          Cancelar
        </BtnLink>
      </ModalAlertButtons>
    )}
  </ModalMultiple>
 */
export declare const ModalMultiple: (props: ModalMultipleProps) => JSX.Element;
export {};
//# sourceMappingURL=ModalMultiple.d.ts.map