import { Host } from '@openshift-assisted/types/assisted-installer-service';
import { AgentK8sResource, BareMetalHostK8sResource } from '../../types';
export declare const hostToAgent: (agents: AgentK8sResource[] | undefined, host: Host) => AgentK8sResource;
export declare const getAgentsForSelection: (agents: AgentK8sResource[], isSubmitting?: boolean) => AgentK8sResource[];
export declare const getAgentRole: (agent: AgentK8sResource) => import("@openshift-assisted/types/assisted-installer-service").HostRole;
export declare const getAgentProgress: (agent: AgentK8sResource) => {
    currentStage?: import("@openshift-assisted/types/assisted-installer-service").HostStage;
    installationPercentage?: number;
    progressInfo?: string;
    progressStages?: import("@openshift-assisted/types/assisted-installer-service").HostStage[];
    stageStartTime?: string;
    stageUpdateTime?: string;
} | undefined;
export declare const getInfraEnvNameOfAgent: (resource?: AgentK8sResource | BareMetalHostK8sResource) => string | undefined;
export declare const getClusterNameOfAgent: (agent?: AgentK8sResource) => string | undefined;
type OnAgentChangeHostname<A = AgentK8sResource, B = BareMetalHostK8sResource> = (agents: A[], bmhs: B[], onChangeHostname: (agent: A, hostname: string) => Promise<unknown>, onChangeBMHHostname: (bmh: B, hostname: string) => Promise<unknown>) => (host: Host, hostname: string) => Promise<unknown>;
export declare const onAgentChangeHostname: OnAgentChangeHostname<AgentK8sResource, BareMetalHostK8sResource>;
export {};
//# sourceMappingURL=agents.d.ts.map