import * as Yup from 'yup';
import { AgentClusterInstallK8sResource, AgentK8sResource, ClusterDeploymentK8sResource, InfraEnvK8sResource } from '../../types';
type UseNetworkingFormikArgs = {
    clusterDeployment: ClusterDeploymentK8sResource;
    agentClusterInstall: AgentClusterInstallK8sResource;
    agents: AgentK8sResource[];
};
export declare const useNetworkingFormik: ({ clusterDeployment, agentClusterInstall, agents, }: UseNetworkingFormikArgs) => {
    initialValues: {
        enableProxy: boolean;
        editProxy: boolean;
        clusterNetworkCidr?: string | undefined;
        clusterNetworkHostPrefix?: number | undefined;
        serviceNetworkCidr?: string | undefined;
        apiVips?: import("@openshift-assisted/types/./assisted-installer-service").ApiVip[] | undefined;
        ingressVips?: import("@openshift-assisted/types/./assisted-installer-service").IngressVip[] | undefined;
        sshPublicKey?: string | undefined;
        vipDhcpAllocation?: boolean | undefined;
        networkType?: "OpenShiftSDN" | "OVNKubernetes" | "CiscoACI" | "Cilium" | "Calico" | "None" | undefined;
        machineNetworks?: import("@openshift-assisted/types/./assisted-installer-service").MachineNetwork[] | undefined;
        clusterNetworks?: import("@openshift-assisted/types/./assisted-installer-service").ClusterNetwork[] | undefined;
        serviceNetworks?: import("@openshift-assisted/types/./assisted-installer-service").ServiceNetwork[] | undefined;
        managedNetworkingType: "userManaged" | "clusterManaged";
        stackType?: "singleStack" | "dualStack";
        apiVip?: string;
        ingressVip?: string;
    };
    validationSchema: Yup.Lazy<{
        apiVips?: any[] | {
            clusterId?: string | undefined;
            ip?: {} | undefined;
        }[] | undefined;
        ingressVips?: any[] | {
            clusterId?: string | undefined;
            ip?: {} | undefined;
        }[] | undefined;
        sshPublicKey?: string | undefined;
        clusterNetworks?: ({
            clusterId?: string | undefined;
            cidr: string;
            hostPrefix: number;
        }[] & any[]) | undefined;
        serviceNetworks?: ({
            clusterId?: string | undefined;
            cidr: string;
        }[] & any[]) | undefined;
        httpProxy?: string | undefined;
        httpsProxy?: string | undefined;
        noProxy?: string | undefined;
    }, Yup.AnyObject, any>;
};
type UseInfraEnvProxiesArgs = {
    agents: AgentK8sResource[];
    fetchInfraEnv: (name: string, namespace: string) => Promise<InfraEnvK8sResource>;
};
export declare const useInfraEnvProxies: ({ agents, fetchInfraEnv }: UseInfraEnvProxiesArgs) => {
    infraEnvWithProxy: InfraEnvK8sResource | undefined;
    sameProxies: boolean;
    infraEnvsError: string | undefined;
    infraEnvsLoading: boolean;
};
export {};
//# sourceMappingURL=use-networking-formik.d.ts.map