type AnvilIdInputGroupOptionalProps = { previous?: { anvilIdPrefix?: string; anvilIdDomain?: string; anvilIdSequence?: number; }; }; type AnvilIdInputGroupProps = AnvilIdInputGroupOptionalProps & { formUtils: FormUtils; }; type ManifestNetwork = { networkGateway?: string; networkMinIp: string; networkNumber: number; networkSubnetMask: string; networkType: string; }; type ManifestNetworkList = { [networkId: string]: ManifestNetwork; }; type ManifestHostFenceList = { [fenceId: string]: { fenceName: string; fencePort: string; }; }; type ManifestHostNetworkList = { [networkId: string]: { networkIp: string; networkNumber: number; networkType: string; }; }; type ManifestHostUpsList = { [upsId: string]: { isUsed: boolean; upsName: string; }; }; type ManifestHost = { fences?: ManifestHostFenceList; hostNumber: number; hostType: string; networks?: ManifestHostNetworkList; upses?: ManifestHostUpsList; }; type ManifestHostList = { [hostId: string]: ManifestHost; }; type AnvilNetworkEventHandlerPreviousArgs = { networkId: string; } & Pick; type AnvilNetworkCloseEventHandler = ( args: AnvilNetworkEventHandlerPreviousArgs, ...handlerArgs: Parameters ) => ReturnType; type AnvilNetworkTypeChangeEventHandler = ( args: AnvilNetworkEventHandlerPreviousArgs, ...handlerArgs: Parameters ) => ReturnType; type AnvilNetworkInputGroupOptionalProps = { inputGatewayId?: string; inputGatewayLabel?: string; inputMinIpLabel?: string; inputSubnetMaskLabel?: string; onClose?: AnvilNetworkCloseEventHandler; onNetworkTypeChange?: AnvilNetworkTypeChangeEventHandler; previous?: { gateway?: string; minIp?: string; subnetMask?: string; }; readonlyNetworkName?: boolean; showCloseButton?: boolean; showGateway?: boolean; }; type AnvilNetworkInputGroupProps = AnvilNetworkInputGroupOptionalProps & { formUtils: FormUtils; idPrefix: string; inputMinIpId: string; inputNetworkTypeId: string; inputSubnetMaskId: string; networkId: string; networkNumber: number; networkType: string; networkTypeOptions: SelectItem[]; }; type AnvilHostInputGroupOptionalProps = { previous?: Pick; }; type AnvilHostInputGroupProps = AnvilHostInputGroupOptionalProps & { formUtils: FormUtils; hostLabel: string; }; type AnvilNetworkConfigInputGroupOptionalProps = { previous?: { dnsCsv?: string; /** Max Transmission Unit (MTU); unit: bytes */ mtu?: number; networks?: ManifestNetworkList; ntpCsv?: string; }; }; type AnvilNetworkConfigInputGroupProps = AnvilNetworkConfigInputGroupOptionalProps & { formUtils: FormUtils; networkListEntries: Array<[string, ManifestNetwork]>; setNetworkList: import('react').Dispatch< import('react').SetStateAction >; }; type AnvilHostConfigInputGroupOptionalProps = { knownFences?: APIManifestTemplateFenceList; knownUpses?: APIManifestTemplateUpsList; previous?: { hosts?: ManifestHostList; }; }; type AnvilHostConfigInputGroupProps = AnvilHostConfigInputGroupOptionalProps & { formUtils: FormUtils; networkListEntries: Array<[string, ManifestNetwork]>; }; type AddManifestInputGroupOptionalProps = Pick< AnvilHostConfigInputGroupOptionalProps, 'knownFences' | 'knownUpses' > & { previous?: { anId?: AnvilIdInputGroupOptionalProps['previous']; networkConfig?: AnvilNetworkConfigInputGroupOptionalProps['previous']; hostConfig?: AnvilHostConfigInputGroupOptionalProps['previous']; }; }; type AddManifestInputGroupProps = AddManifestInputGroupOptionalProps & { formUtils: FormUtils; };