import * as React from 'react';
import { UpdateDay2ApiVipFormProps } from './UpdateDay2ApiVipForm';
import { Cluster, Disk, DiskRole, Host, HostUpdateParams } from '@openshift-assisted/types/assisted-installer-service';
export declare const useHostsTable: (cluster: Cluster) => {
    onDiskRole: (hostId: Host["id"], diskId: Disk["id"], role: DiskRole) => Promise<void>;
    onEditHost: (host: Host) => void;
    actionChecks: {
        canEditRole: (host: Host) => boolean;
        canInstallHost: (host: Host) => boolean;
        canEditDisks: (host: Host) => boolean;
        canEnable: (host: Host) => boolean;
        canDisable: (host: Host) => boolean;
        canDelete: (host: Host) => boolean;
        canEditHost: (host: Host) => boolean;
        canReset: (host: Host) => boolean;
        canEditHostname: (host?: Host) => boolean;
    };
    onEditRole: (host: Host, role: HostUpdateParams["hostRole"]) => Promise<void>;
    actionResolver: import("../../../common/components/hosts/AITable").ActionsResolver<Host>;
    onReset: () => void;
    onDelete: () => void;
    onAdditionalNtpSource: (additionalNtpSource: string, onError: (message: string) => void) => Promise<void>;
    onUpdateDay2ApiVip: (apiVip: string, onError: (message: string) => void) => Promise<void>;
    onSelect: ((obj: Host, isSelected: boolean) => void) | undefined;
    selectedHostIDs: string[];
    setSelectedHostIDs: React.Dispatch<React.SetStateAction<string[]>>;
    onMassChangeHostname: () => void;
    onMassDeleteHost: () => void;
    updateDiskSkipFormatting: (shouldFormatDisk: boolean, hostId: Host["id"], diskId: Disk["id"]) => Promise<void>;
};
type HostsTableModalsProps = {
    cluster: Cluster;
    onReset: VoidFunction;
    onDelete: VoidFunction;
    onAdditionalNtpSource: (additionalNtpSource: string, onError: (message: string) => void) => Promise<void>;
    onUpdateDay2ApiVip: UpdateDay2ApiVipFormProps['onUpdateDay2ApiVip'];
};
export declare const HostsTableModals: ({ cluster, onDelete, onReset, onAdditionalNtpSource, onUpdateDay2ApiVip, }: HostsTableModalsProps) => React.JSX.Element | null;
export {};
//# sourceMappingURL=use-hosts-table.d.ts.map