import React from 'react';
import { Button } from '@patternfly/react-core';
import { ToolbarButton } from './Toolbar';
import { Cluster, Event } from '@openshift-assisted/types/assisted-installer-service';
import { EventListFetchProps, EventsEntityKind } from '../../types';
import './EventsModal.css';
type EventsModalButtonProps = React.ComponentProps<typeof Button> & Omit<EventsModalProps, 'onClose' | 'isOpen' | 'hostId'> & {
    ButtonComponent?: typeof Button | typeof ToolbarButton;
    onClick?: () => void;
    hostId?: Event['hostId'];
};
export declare const EventsModalButton: ({ ButtonComponent, onFetchEvents, onClick, hostId, cluster, entityKind, children, title, fallbackEventsURL, disablePagination, ...props }: EventsModalButtonProps) => React.JSX.Element;
type EventsModalProps = {
    onFetchEvents: EventListFetchProps['onFetchEvents'];
    hostId: Event['hostId'];
    cluster: Cluster;
    entityKind: EventsEntityKind;
    onClose: () => void;
    isOpen: boolean;
    title: string;
    fallbackEventsURL?: string;
    disablePagination?: boolean;
};
export declare const EventsModal: ({ onClose, isOpen, title, fallbackEventsURL, ...rest }: EventsModalProps) => React.JSX.Element;
export {};
//# sourceMappingURL=eventsModal.d.ts.map