import { Nmstate, NmstateDns, NmstateInterface, NmstateProtocolConfig, NmstateProtocolConfigs, NmstateRoutesConfig } from './nmstateTypes';
import { FormViewNetworkWideValues, MachineNetworks, ProtocolVersion, StaticProtocolType } from './dataTypes';
export declare const YAML_COMMENT_CHAR = "#";
export declare const FORM_VIEW_PREFIX = "generated by ui form view";
export declare const getMachineNetworkFieldName: (protocolVersion: ProtocolVersion) => string;
export declare const getVlanNicName: (nicName: string, vlanId: number) => string;
export declare const getProtocolVersionIdx: (protocolVersion: ProtocolVersion) => number;
export declare const yamlToNmstateObject: (yaml: string) => Nmstate;
export declare const getYamlComments: (yaml: string) => string[];
export declare const toYamlWithComments: (json: object, comments: string[]) => string;
export declare const getMachineNetworks: (comments: string[]) => MachineNetworks;
export declare const getProtocolType: (comments: string[]) => StaticProtocolType | null;
export declare const getNmstateProtocolConfig: (ipAddress: string, prefixLength: number, protocolVersion?: ProtocolVersion) => NmstateProtocolConfig;
export declare const getDnsSection: (dns: string) => NmstateDns;
export declare const getInterface: (nicName: string, protocolConfigs: NmstateProtocolConfigs, networkWide: FormViewNetworkWideValues, bondType?: string, hasBondsConfigured?: boolean, createBondInterface?: boolean) => NmstateInterface;
export declare const getRouteConfig: (protocolVersion: ProtocolVersion, gatewayAddress: string, nicName: string) => NmstateRoutesConfig;
//# sourceMappingURL=nmstateYaml.d.ts.map