import * as Yup from 'yup';
import { ProtocolVersion, FormViewNetworkWideValues, Cidr } from '../../data/dataTypes';
export declare const MIN_PREFIX_LENGTH = 1;
export declare const MAX_PREFIX_LENGTH: {
    ipv4: number;
    ipv6: number;
};
export declare const MIN_VLAN_ID = 1;
export declare const MAX_VLAN_ID = 4094;
export declare const getInMachineNetworkValidationSchema: (protocolVersion: ProtocolVersion, machineNetwork: Cidr) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
export declare const getIsNotNetworkOrBroadcastAddressSchema: (protocolVersion: ProtocolVersion, machineNetwork: Cidr) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
export declare const networkWideValidationSchema: Yup.Lazy<{
    protocolType?: string | undefined;
    useVlan?: boolean | undefined;
    vlanId?: {} | undefined;
    dns?: string | undefined;
    ipConfigs: {
        ipv4: {
            gateway?: string | undefined;
            machineNetwork: {
                ip?: string | undefined;
                prefixLength?: number | undefined;
            };
        };
        ipv6: {
            gateway?: string | undefined;
            machineNetwork: {
                ip?: string | undefined;
                prefixLength?: number | undefined;
            };
        } | {};
    };
}, Yup.AnyObject, any>;
export declare const validateNumber: (vlanId: FormViewNetworkWideValues["vlanId"]) => boolean;
//# sourceMappingURL=formViewNetworkWideValidationSchema.d.ts.map