// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.
// edit the generator or catalog, then regenerate.
import type { ColorValue, ViewProps } from 'react-native'
import type * as Styles from './swiftui'
import type { KeyboardType, TextContentType } from '../textTypes'
import type { IconColorRole } from '../ui/iconRoles'
import type { SFSymbolName } from './sfSymbolNames'
import type {
  AreaChartStyle,
  BarChartStyle,
  ChartDataPoint,
  ChartType,
  LineChartStyle,
  PieChartStyle,
  PointChartStyle,
  RectangleChartStyle,
  RuleChartStyle,
} from '../chartTypes'
import type { NativeState } from '../syncNativeState'

export const glassEffects = ['regular', 'clear', 'identity'] as const
export type GlassEffect = (typeof glassEffects)[number]
export const glassEffectShapes = [
  'capsule',
  'circle',
  'containerRelativeShape',
  'ellipse',
  'rectangle',
  'roundedRectangle',
] as const
export type GlassEffectShape = (typeof glassEffectShapes)[number]
export const materials = ['ultraThin', 'thin', 'regular', 'thick', 'ultraThick'] as const
export type Material = (typeof materials)[number]
export const sdkAccentColorValues = [
  'accentColor',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'primary',
  'secondary',
] as const
export type SDKAccentColor = (typeof sdkAccentColorValues)[number]
export const sdkAccessibilityActivationPointWithUnitPointValues = [
  'zero',
  'center',
  'leading',
  'trailing',
  'top',
  'bottom',
  'topLeading',
  'topTrailing',
  'bottomLeading',
  'bottomTrailing',
] as const
export type SDKAccessibilityActivationPointWithUnitPoint =
  (typeof sdkAccessibilityActivationPointWithUnitPointValues)[number]
export const sdkAccessibilityAddTraitsValues = [
  'isButton',
  'isHeader',
  'isSelected',
  'isLink',
  'isSearchField',
  'isImage',
  'playsSound',
  'isKeyboardKey',
  'isStaticText',
  'isSummaryElement',
  'updatesFrequently',
  'startsMediaSession',
  'allowsDirectInteraction',
  'causesPageTurn',
  'isModal',
  'isToggle',
  'isTabBar',
] as const
export type SDKAccessibilityAddTraits = (typeof sdkAccessibilityAddTraitsValues)[number]
export const sdkAccessibilityAdjustableActionValues = ['increment', 'decrement'] as const
export type SDKAccessibilityAdjustableAction =
  (typeof sdkAccessibilityAdjustableActionValues)[number]
export const sdkAccessibilityElementValues = ['ignore', 'contain', 'combine'] as const
export type SDKAccessibilityElement = (typeof sdkAccessibilityElementValues)[number]
export const sdkAccessibilityHeadingValues = [
  'unspecified',
  'h1',
  'h2',
  'h3',
  'h4',
  'h5',
  'h6',
] as const
export type SDKAccessibilityHeading = (typeof sdkAccessibilityHeadingValues)[number]
export const sdkAccessibilityRemoveTraitsValues = [
  'isButton',
  'isHeader',
  'isSelected',
  'isLink',
  'isSearchField',
  'isImage',
  'playsSound',
  'isKeyboardKey',
  'isStaticText',
  'isSummaryElement',
  'updatesFrequently',
  'startsMediaSession',
  'allowsDirectInteraction',
  'causesPageTurn',
  'isModal',
  'isToggle',
  'isTabBar',
] as const
export type SDKAccessibilityRemoveTraits =
  (typeof sdkAccessibilityRemoveTraitsValues)[number]
export const sdkAccessibilityScrollActionValues = [
  'top',
  'leading',
  'bottom',
  'trailing',
] as const
export type SDKAccessibilityScrollAction =
  (typeof sdkAccessibilityScrollActionValues)[number]
export const sdkAccessibilityTextContentTypeValues = [
  'plain',
  'console',
  'fileSystem',
  'messaging',
  'narrative',
  'sourceCode',
  'spreadsheet',
  'wordProcessing',
] as const
export type SDKAccessibilityTextContentType =
  (typeof sdkAccessibilityTextContentTypeValues)[number]
export const sdkAccessibilityWithActivationPointValues = [
  'zero',
  'center',
  'leading',
  'trailing',
  'top',
  'bottom',
  'topLeading',
  'topTrailing',
  'bottomLeading',
  'bottomTrailing',
] as const
export type SDKAccessibilityWithActivationPoint =
  (typeof sdkAccessibilityWithActivationPointValues)[number]
export const sdkAccessibilityWithAddTraitsValues = [
  'isButton',
  'isHeader',
  'isSelected',
  'isLink',
  'isSearchField',
  'isImage',
  'playsSound',
  'isKeyboardKey',
  'isStaticText',
  'isSummaryElement',
  'updatesFrequently',
  'startsMediaSession',
  'allowsDirectInteraction',
  'causesPageTurn',
  'isModal',
  'isToggle',
  'isTabBar',
] as const
export type SDKAccessibilityWithAddTraits =
  (typeof sdkAccessibilityWithAddTraitsValues)[number]
export const sdkAccessibilityWithRemoveTraitsValues = [
  'isButton',
  'isHeader',
  'isSelected',
  'isLink',
  'isSearchField',
  'isImage',
  'playsSound',
  'isKeyboardKey',
  'isStaticText',
  'isSummaryElement',
  'updatesFrequently',
  'startsMediaSession',
  'allowsDirectInteraction',
  'causesPageTurn',
  'isModal',
  'isToggle',
  'isTabBar',
] as const
export type SDKAccessibilityWithRemoveTraits =
  (typeof sdkAccessibilityWithRemoveTraitsValues)[number]
export const sdkAddPassToWalletButtonStyleValues = ['black', 'blackOutline'] as const
export type SDKAddPassToWalletButtonStyle =
  (typeof sdkAddPassToWalletButtonStyleValues)[number]
export const sdkAllowedDynamicRangeValues = [
  'standard',
  'constrainedHigh',
  'high',
] as const
export type SDKAllowedDynamicRange = (typeof sdkAllowedDynamicRangeValues)[number]
export const sdkAnimationValues = [
  'default',
  'interpolatingSpring',
  'spring',
  'interactiveSpring',
  'smooth',
  'snappy',
  'bouncy',
  'easeInOut',
  'easeIn',
  'easeOut',
  'linear',
] as const
export type SDKAnimation = (typeof sdkAnimationValues)[number]
export const sdkAsyncImageURLSessionValues = ['shared'] as const
export type SDKAsyncImageURLSession = (typeof sdkAsyncImageURLSessionValues)[number]
export const sdkAutocapitalizationValues = [
  'allCharacters',
  'none',
  'sentences',
  'words',
] as const
export type SDKAutocapitalization = (typeof sdkAutocapitalizationValues)[number]
export const sdkBackgroundStyleValues = [
  'placeholder',
  'link',
  'selection',
  'windowBackground',
  'fill',
  'regularMaterial',
  'thickMaterial',
  'thinMaterial',
  'ultraThinMaterial',
  'ultraThickMaterial',
  'bar',
  'primary',
  'secondary',
  'tertiary',
  'quaternary',
  'quinary',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'separator',
  'background',
  'foreground',
  'tint',
] as const
export type SDKBackgroundStyle = (typeof sdkBackgroundStyleValues)[number]
export const sdkBadgeProminenceValues = ['decreased', 'standard', 'increased'] as const
export type SDKBadgeProminence = (typeof sdkBadgeProminenceValues)[number]
export const sdkBlendModeValues = [
  'normal',
  'multiply',
  'screen',
  'overlay',
  'darken',
  'lighten',
  'colorDodge',
  'colorBurn',
  'softLight',
  'hardLight',
  'difference',
  'exclusion',
  'hue',
  'saturation',
  'color',
  'luminosity',
  'sourceAtop',
  'destinationOver',
  'destinationOut',
  'plusDarker',
  'plusLighter',
] as const
export type SDKBlendMode = (typeof sdkBlendModeValues)[number]
export const sdkButtonBorderShapeValues = [
  'automatic',
  'capsule',
  'roundedRectangle',
  'circle',
] as const
export type SDKButtonBorderShape = (typeof sdkButtonBorderShapeValues)[number]
export const sdkButtonRepeatBehaviorValues = ['automatic', 'enabled', 'disabled'] as const
export type SDKButtonRepeatBehavior = (typeof sdkButtonRepeatBehaviorValues)[number]
export const sdkButtonSizingValues = ['automatic', 'flexible', 'fitted'] as const
export type SDKButtonSizing = (typeof sdkButtonSizingValues)[number]
export const sdkButtonStyleValues = [
  'automatic',
  'glass',
  'borderless',
  'glassProminent',
  'plain',
  'bordered',
  'borderedProminent',
] as const
export type SDKButtonStyle = (typeof sdkButtonStyleValues)[number]
export const sdkClipShapeValues = [
  'buttonBorder',
  'rect',
  'capsule',
  'ellipse',
  'circle',
  'containerRelative',
  'textInputBorder',
] as const
export type SDKClipShape = (typeof sdkClipShapeValues)[number]
export const sdkColorMultiplyValues = [
  'accentColor',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'primary',
  'secondary',
] as const
export type SDKColorMultiply = (typeof sdkColorMultiplyValues)[number]
export const sdkColorSchemeValues = ['light', 'dark'] as const
export type SDKColorScheme = (typeof sdkColorSchemeValues)[number]
export const sdkContainerShapeValues = [
  'buttonBorder',
  'rect',
  'capsule',
  'ellipse',
  'circle',
  'containerRelative',
  'textInputBorder',
] as const
export type SDKContainerShape = (typeof sdkContainerShapeValues)[number]
export const sdkContentShapeValues = [
  'buttonBorder',
  'rect',
  'capsule',
  'ellipse',
  'circle',
  'containerRelative',
  'textInputBorder',
] as const
export type SDKContentShape = (typeof sdkContentShapeValues)[number]
export const sdkContentTransitionValues = [
  'symbolEffect',
  'identity',
  'opacity',
  'interpolate',
] as const
export type SDKContentTransition = (typeof sdkContentTransitionValues)[number]
export const sdkControlGroupStyleValues = [
  'palette',
  'automatic',
  'navigation',
  'menu',
  'compactMenu',
] as const
export type SDKControlGroupStyle = (typeof sdkControlGroupStyleValues)[number]
export const sdkControlSizeValues = [
  'mini',
  'small',
  'regular',
  'large',
  'extraLarge',
] as const
export type SDKControlSize = (typeof sdkControlSizeValues)[number]
export const sdkDatePickerStyleValues = [
  'wheel',
  'automatic',
  'graphical',
  'compact',
] as const
export type SDKDatePickerStyle = (typeof sdkDatePickerStyleValues)[number]
export const sdkDefaultAdaptableTabBarPlacementValues = [
  'automatic',
  'tabBar',
  'sidebar',
] as const
export type SDKDefaultAdaptableTabBarPlacement =
  (typeof sdkDefaultAdaptableTabBarPlacementValues)[number]
export const sdkDefaultAppStorageValues = ['standard'] as const
export type SDKDefaultAppStorage = (typeof sdkDefaultAppStorageValues)[number]
export const sdkDefaultHoverEffectValues = ['automatic', 'highlight', 'lift'] as const
export type SDKDefaultHoverEffect = (typeof sdkDefaultHoverEffectValues)[number]
export const sdkDefaultScrollAnchorWithOptionalUnitPointValues = [
  'zero',
  'center',
  'leading',
  'trailing',
  'top',
  'bottom',
  'topLeading',
  'topTrailing',
  'bottomLeading',
  'bottomTrailing',
] as const
export type SDKDefaultScrollAnchorWithOptionalUnitPoint =
  (typeof sdkDefaultScrollAnchorWithOptionalUnitPointValues)[number]
export const sdkDefaultTabBarPlacementValues = ['automatic', 'tabBar', 'sidebar'] as const
export type SDKDefaultTabBarPlacement = (typeof sdkDefaultTabBarPlacementValues)[number]
export const sdkDefersSystemGesturesValues = [
  'top',
  'leading',
  'bottom',
  'trailing',
  'all',
  'horizontal',
  'vertical',
] as const
export type SDKDefersSystemGestures = (typeof sdkDefersSystemGesturesValues)[number]
export const sdkDisclosureGroupStyleValues = ['automatic'] as const
export type SDKDisclosureGroupStyle = (typeof sdkDisclosureGroupStyleValues)[number]
export const sdkDropConfigurationValues = ['cancel', 'forbidden', 'copy', 'move'] as const
export type SDKDropConfiguration = (typeof sdkDropConfigurationValues)[number]
export const sdkDynamicTypeSizeValues = [
  'xSmall',
  'small',
  'medium',
  'large',
  'xLarge',
  'xxLarge',
  'xxxLarge',
  'accessibility1',
  'accessibility2',
  'accessibility3',
  'accessibility4',
  'accessibility5',
] as const
export type SDKDynamicTypeSize = (typeof sdkDynamicTypeSizeValues)[number]
export const sdkEdgesIgnoringSafeAreaValues = [
  'top',
  'leading',
  'bottom',
  'trailing',
  'all',
  'horizontal',
  'vertical',
] as const
export type SDKEdgesIgnoringSafeArea = (typeof sdkEdgesIgnoringSafeAreaValues)[number]
export const sdkEnvironmentAllowedDynamicRangeValues = [
  'standard',
  'constrainedHigh',
  'high',
] as const
export type SDKEnvironmentAllowedDynamicRange =
  (typeof sdkEnvironmentAllowedDynamicRangeValues)[number]
export const sdkEnvironmentBackgroundMaterialValues = [
  'regular',
  'thick',
  'thin',
  'ultraThin',
  'ultraThick',
  'bar',
] as const
export type SDKEnvironmentBackgroundMaterial =
  (typeof sdkEnvironmentBackgroundMaterialValues)[number]
export const sdkEnvironmentBackgroundProminenceValues = ['standard', 'increased'] as const
export type SDKEnvironmentBackgroundProminence =
  (typeof sdkEnvironmentBackgroundProminenceValues)[number]
export const sdkEnvironmentBadgeProminenceValues = [
  'decreased',
  'standard',
  'increased',
] as const
export type SDKEnvironmentBadgeProminence =
  (typeof sdkEnvironmentBadgeProminenceValues)[number]
export const sdkEnvironmentCalendarValues = ['autoupdatingCurrent', 'current'] as const
export type SDKEnvironmentCalendar = (typeof sdkEnvironmentCalendarValues)[number]
export const sdkEnvironmentColorSchemeValues = ['light', 'dark'] as const
export type SDKEnvironmentColorScheme = (typeof sdkEnvironmentColorSchemeValues)[number]
export const sdkEnvironmentContentTransitionValues = [
  'symbolEffect',
  'identity',
  'opacity',
  'interpolate',
] as const
export type SDKEnvironmentContentTransition =
  (typeof sdkEnvironmentContentTransitionValues)[number]
export const sdkEnvironmentControlSizeValues = [
  'mini',
  'small',
  'regular',
  'large',
  'extraLarge',
] as const
export type SDKEnvironmentControlSize = (typeof sdkEnvironmentControlSizeValues)[number]
export const sdkEnvironmentDynamicTypeSizeValues = [
  'xSmall',
  'small',
  'medium',
  'large',
  'xLarge',
  'xxLarge',
  'xxxLarge',
  'accessibility1',
  'accessibility2',
  'accessibility3',
  'accessibility4',
  'accessibility5',
] as const
export type SDKEnvironmentDynamicTypeSize =
  (typeof sdkEnvironmentDynamicTypeSizeValues)[number]
export const sdkEnvironmentFontValues = [
  'largeTitle',
  'title',
  'title2',
  'title3',
  'headline',
  'subheadline',
  'body',
  'callout',
  'footnote',
  'caption',
  'caption2',
  'default',
] as const
export type SDKEnvironmentFont = (typeof sdkEnvironmentFontValues)[number]
export const sdkEnvironmentHeaderProminenceValues = ['standard', 'increased'] as const
export type SDKEnvironmentHeaderProminence =
  (typeof sdkEnvironmentHeaderProminenceValues)[number]
export const sdkEnvironmentHorizontalScrollBounceBehaviorValues = [
  'automatic',
  'always',
  'basedOnSize',
] as const
export type SDKEnvironmentHorizontalScrollBounceBehavior =
  (typeof sdkEnvironmentHorizontalScrollBounceBehaviorValues)[number]
export const sdkEnvironmentHorizontalScrollIndicatorVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
  'never',
] as const
export type SDKEnvironmentHorizontalScrollIndicatorVisibility =
  (typeof sdkEnvironmentHorizontalScrollIndicatorVisibilityValues)[number]
export const sdkEnvironmentHorizontalSizeClassValues = ['compact', 'regular'] as const
export type SDKEnvironmentHorizontalSizeClass =
  (typeof sdkEnvironmentHorizontalSizeClassValues)[number]
export const sdkEnvironmentImageScaleValues = ['small', 'medium', 'large'] as const
export type SDKEnvironmentImageScale = (typeof sdkEnvironmentImageScaleValues)[number]
export const sdkEnvironmentLabelsVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKEnvironmentLabelsVisibility =
  (typeof sdkEnvironmentLabelsVisibilityValues)[number]
export const sdkEnvironmentLayoutDirectionValues = ['leftToRight', 'rightToLeft'] as const
export type SDKEnvironmentLayoutDirection =
  (typeof sdkEnvironmentLayoutDirectionValues)[number]
export const sdkEnvironmentLegibilityWeightValues = ['regular', 'bold'] as const
export type SDKEnvironmentLegibilityWeight =
  (typeof sdkEnvironmentLegibilityWeightValues)[number]
export const sdkEnvironmentLineHeightValues = [
  'variable',
  'normal',
  'tight',
  'loose',
] as const
export type SDKEnvironmentLineHeight = (typeof sdkEnvironmentLineHeightValues)[number]
export const sdkEnvironmentLocaleValues = ['autoupdatingCurrent', 'current'] as const
export type SDKEnvironmentLocale = (typeof sdkEnvironmentLocaleValues)[number]
export const sdkEnvironmentMaterialActiveAppearanceValues = [
  'automatic',
  'active',
  'matchWindow',
] as const
export type SDKEnvironmentMaterialActiveAppearance =
  (typeof sdkEnvironmentMaterialActiveAppearanceValues)[number]
export const sdkEnvironmentMenuIndicatorVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKEnvironmentMenuIndicatorVisibility =
  (typeof sdkEnvironmentMenuIndicatorVisibilityValues)[number]
export const sdkEnvironmentMenuOrderValues = ['automatic', 'priority', 'fixed'] as const
export type SDKEnvironmentMenuOrder = (typeof sdkEnvironmentMenuOrderValues)[number]
export const sdkEnvironmentMultilineTextAlignmentValues = [
  'leading',
  'center',
  'trailing',
] as const
export type SDKEnvironmentMultilineTextAlignment =
  (typeof sdkEnvironmentMultilineTextAlignmentValues)[number]
export const sdkEnvironmentRealityViewCameraControlsValues = [
  'dolly',
  'none',
  'orbit',
  'pan',
  'tilt',
] as const
export type SDKEnvironmentRealityViewCameraControls =
  (typeof sdkEnvironmentRealityViewCameraControlsValues)[number]
export const sdkEnvironmentRedactionReasonsValues = [
  'placeholder',
  'privacy',
  'invalidated',
] as const
export type SDKEnvironmentRedactionReasons =
  (typeof sdkEnvironmentRedactionReasonsValues)[number]
export const sdkEnvironmentScenePhaseValues = [
  'background',
  'inactive',
  'active',
] as const
export type SDKEnvironmentScenePhase = (typeof sdkEnvironmentScenePhaseValues)[number]
export const sdkEnvironmentScrollDismissesKeyboardModeValues = [
  'automatic',
  'immediately',
  'interactively',
  'never',
] as const
export type SDKEnvironmentScrollDismissesKeyboardMode =
  (typeof sdkEnvironmentScrollDismissesKeyboardModeValues)[number]
export const sdkEnvironmentSidebarRowSizeValues = ['small', 'medium', 'large'] as const
export type SDKEnvironmentSidebarRowSize =
  (typeof sdkEnvironmentSidebarRowSizeValues)[number]
export const sdkEnvironmentSizeCategoryValues = [
  'extraSmall',
  'small',
  'medium',
  'large',
  'extraLarge',
  'extraExtraLarge',
  'extraExtraExtraLarge',
  'accessibilityMedium',
  'accessibilityLarge',
  'accessibilityExtraLarge',
  'accessibilityExtraExtraLarge',
  'accessibilityExtraExtraExtraLarge',
] as const
export type SDKEnvironmentSizeCategory = (typeof sdkEnvironmentSizeCategoryValues)[number]
export const sdkEnvironmentSymbolColorRenderingModeValues = ['flat', 'gradient'] as const
export type SDKEnvironmentSymbolColorRenderingMode =
  (typeof sdkEnvironmentSymbolColorRenderingModeValues)[number]
export const sdkEnvironmentSymbolRenderingModeValues = [
  'monochrome',
  'multicolor',
  'hierarchical',
  'palette',
] as const
export type SDKEnvironmentSymbolRenderingMode =
  (typeof sdkEnvironmentSymbolRenderingModeValues)[number]
export const sdkEnvironmentSymbolVariableValueModeValues = ['color', 'draw'] as const
export type SDKEnvironmentSymbolVariableValueMode =
  (typeof sdkEnvironmentSymbolVariableValueModeValues)[number]
export const sdkEnvironmentSymbolVariantsValues = [
  'none',
  'circle',
  'square',
  'rectangle',
  'fill',
  'slash',
] as const
export type SDKEnvironmentSymbolVariants =
  (typeof sdkEnvironmentSymbolVariantsValues)[number]
export const sdkEnvironmentTextCaseValues = ['uppercase', 'lowercase'] as const
export type SDKEnvironmentTextCase = (typeof sdkEnvironmentTextCaseValues)[number]
export const sdkEnvironmentTextSelectionAffinityValues = [
  'automatic',
  'upstream',
  'downstream',
] as const
export type SDKEnvironmentTextSelectionAffinity =
  (typeof sdkEnvironmentTextSelectionAffinityValues)[number]
export const sdkEnvironmentTimeZoneValues = [
  'autoupdatingCurrent',
  'current',
  'gmt',
] as const
export type SDKEnvironmentTimeZone = (typeof sdkEnvironmentTimeZoneValues)[number]
export const sdkEnvironmentTruncationModeValues = ['head', 'tail', 'middle'] as const
export type SDKEnvironmentTruncationMode =
  (typeof sdkEnvironmentTruncationModeValues)[number]
export const sdkEnvironmentVerticalScrollBounceBehaviorValues = [
  'automatic',
  'always',
  'basedOnSize',
] as const
export type SDKEnvironmentVerticalScrollBounceBehavior =
  (typeof sdkEnvironmentVerticalScrollBounceBehaviorValues)[number]
export const sdkEnvironmentVerticalScrollIndicatorVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
  'never',
] as const
export type SDKEnvironmentVerticalScrollIndicatorVisibility =
  (typeof sdkEnvironmentVerticalScrollIndicatorVisibilityValues)[number]
export const sdkEnvironmentVerticalSizeClassValues = ['compact', 'regular'] as const
export type SDKEnvironmentVerticalSizeClass =
  (typeof sdkEnvironmentVerticalSizeClassValues)[number]
export const sdkFileDialogBrowserOptionsValues = [
  'enumeratePackages',
  'includeHiddenFiles',
  'displayFileExtensions',
] as const
export type SDKFileDialogBrowserOptions =
  (typeof sdkFileDialogBrowserOptionsValues)[number]
export const sdkFontValues = [
  'largeTitle',
  'title',
  'title2',
  'title3',
  'headline',
  'subheadline',
  'body',
  'callout',
  'footnote',
  'caption',
  'caption2',
  'default',
] as const
export type SDKFont = (typeof sdkFontValues)[number]
export const sdkFontDesignWithOptionalDesignValues = [
  'default',
  'serif',
  'rounded',
  'monospaced',
] as const
export type SDKFontDesignWithOptionalDesign =
  (typeof sdkFontDesignWithOptionalDesignValues)[number]
export const sdkFontWeightWithOptionalWeightValues = [
  'ultraLight',
  'thin',
  'light',
  'regular',
  'medium',
  'semibold',
  'bold',
  'heavy',
  'black',
] as const
export type SDKFontWeightWithOptionalWeight =
  (typeof sdkFontWeightWithOptionalWeightValues)[number]
export const sdkFontWidthValues = [
  'compressed',
  'condensed',
  'standard',
  'expanded',
] as const
export type SDKFontWidth = (typeof sdkFontWidthValues)[number]
export const sdkForegroundColorValues = [
  'accentColor',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'primary',
  'secondary',
] as const
export type SDKForegroundColor = (typeof sdkForegroundColorValues)[number]
export const sdkFormStyleValues = ['columns', 'grouped', 'automatic'] as const
export type SDKFormStyle = (typeof sdkFormStyleValues)[number]
export const sdkGaugeStyleValues = [
  'accessoryCircularCapacity',
  'linearCapacity',
  'accessoryLinear',
  'accessoryLinearCapacity',
  'automatic',
  'accessoryCircular',
] as const
export type SDKGaugeStyle = (typeof sdkGaugeStyleValues)[number]
export const sdkGlassEffectTransitionValues = [
  'matchedGeometry',
  'materialize',
  'identity',
] as const
export type SDKGlassEffectTransition = (typeof sdkGlassEffectTransitionValues)[number]
export const sdkGlassEffectWithGlassValues = ['regular', 'clear', 'identity'] as const
export type SDKGlassEffectWithGlass = (typeof sdkGlassEffectWithGlassValues)[number]
export const sdkGridCellAnchorValues = [
  'zero',
  'center',
  'leading',
  'trailing',
  'top',
  'bottom',
  'topLeading',
  'topTrailing',
  'bottomLeading',
  'bottomTrailing',
] as const
export type SDKGridCellAnchor = (typeof sdkGridCellAnchorValues)[number]
export const sdkGridCellUnsizedAxesValues = ['horizontal', 'vertical'] as const
export type SDKGridCellUnsizedAxes = (typeof sdkGridCellUnsizedAxesValues)[number]
export const sdkGridColumnAlignmentValues = [
  'leading',
  'center',
  'trailing',
  'listRowSeparatorLeading',
  'listRowSeparatorTrailing',
] as const
export type SDKGridColumnAlignment = (typeof sdkGridColumnAlignmentValues)[number]
export const sdkGroupBoxStyleValues = ['automatic'] as const
export type SDKGroupBoxStyle = (typeof sdkGroupBoxStyleValues)[number]
export const sdkHandlesGameControllerEventsValues = ['gamepad'] as const
export type SDKHandlesGameControllerEvents =
  (typeof sdkHandlesGameControllerEventsValues)[number]
export const sdkHeaderProminenceValues = ['standard', 'increased'] as const
export type SDKHeaderProminence = (typeof sdkHeaderProminenceValues)[number]
export const sdkHoverEffectWithHoverEffectValues = [
  'automatic',
  'highlight',
  'lift',
] as const
export type SDKHoverEffectWithHoverEffect =
  (typeof sdkHoverEffectWithHoverEffectValues)[number]
export const sdkHoverEffectWithHoverEffectFromSwiftUICoreValues = [
  'automatic',
  'highlight',
  'lift',
] as const
export type SDKHoverEffectWithHoverEffectFromSwiftUICore =
  (typeof sdkHoverEffectWithHoverEffectFromSwiftUICoreValues)[number]
export const sdkHueRotationValues = ['zero'] as const
export type SDKHueRotation = (typeof sdkHueRotationValues)[number]
export const sdkIgnoresSafeAreaWithSafeAreaRegionsValues = [
  'container',
  'keyboard',
  'all',
] as const
export type SDKIgnoresSafeAreaWithSafeAreaRegions =
  (typeof sdkIgnoresSafeAreaWithSafeAreaRegionsValues)[number]
export const sdkImageScaleValues = ['small', 'medium', 'large'] as const
export type SDKImageScale = (typeof sdkImageScaleValues)[number]
export const sdkIndexViewStyleValues = ['page'] as const
export type SDKIndexViewStyle = (typeof sdkIndexViewStyleValues)[number]
export const sdkKeyboardShortcutWithKeyboardShortcutValues = [
  'defaultAction',
  'cancelAction',
] as const
export type SDKKeyboardShortcutWithKeyboardShortcut =
  (typeof sdkKeyboardShortcutWithKeyboardShortcutValues)[number]
export const sdkKeyboardShortcutWithOptionalKeyboardShortcutValues = [
  'defaultAction',
  'cancelAction',
] as const
export type SDKKeyboardShortcutWithOptionalKeyboardShortcut =
  (typeof sdkKeyboardShortcutWithOptionalKeyboardShortcutValues)[number]
export const sdkKeyboardTypeValues = [
  'URL',
  'alphabet',
  'asciiCapable',
  'asciiCapableNumberPad',
  'decimalPad',
  'default',
  'emailAddress',
  'namePhonePad',
  'numberPad',
  'numbersAndPunctuation',
  'phonePad',
  'twitter',
  'webSearch',
] as const
export type SDKKeyboardType = (typeof sdkKeyboardTypeValues)[number]
export const sdkLabeledContentStyleValues = ['automatic'] as const
export type SDKLabeledContentStyle = (typeof sdkLabeledContentStyleValues)[number]
export const sdkLabelStyleValues = [
  'automatic',
  'iconOnly',
  'titleAndIcon',
  'titleOnly',
] as const
export type SDKLabelStyle = (typeof sdkLabelStyleValues)[number]
export const sdkLabelsVisibilityValues = ['automatic', 'visible', 'hidden'] as const
export type SDKLabelsVisibility = (typeof sdkLabelsVisibilityValues)[number]
export const sdkLayoutDirectionBehaviorValues = ['fixed', 'mirrors'] as const
export type SDKLayoutDirectionBehavior = (typeof sdkLayoutDirectionBehaviorValues)[number]
export const sdkLineHeightValues = ['variable', 'normal', 'tight', 'loose'] as const
export type SDKLineHeight = (typeof sdkLineHeightValues)[number]
export const sdkListItemTintWithOptionalColorValues = [
  'accentColor',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'primary',
  'secondary',
] as const
export type SDKListItemTintWithOptionalColor =
  (typeof sdkListItemTintWithOptionalColorValues)[number]
export const sdkListItemTintWithOptionalListItemTintValues = ['monochrome'] as const
export type SDKListItemTintWithOptionalListItemTint =
  (typeof sdkListItemTintWithOptionalListItemTintValues)[number]
export const sdkListSectionIndexVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKListSectionIndexVisibility =
  (typeof sdkListSectionIndexVisibilityValues)[number]
export const sdkListSectionSpacingWithListSectionSpacingValues = [
  'default',
  'compact',
] as const
export type SDKListSectionSpacingWithListSectionSpacing =
  (typeof sdkListSectionSpacingWithListSectionSpacingValues)[number]
export const sdkListStyleValues = [
  'automatic',
  'sidebar',
  'inset',
  'grouped',
  'insetGrouped',
  'plain',
] as const
export type SDKListStyle = (typeof sdkListStyleValues)[number]
export const sdkMapCameraKeyframeAnimatorValues = [
  'distance',
  'heading',
  'pitch',
] as const
export type SDKMapCameraKeyframeAnimator =
  (typeof sdkMapCameraKeyframeAnimatorValues)[number]
export const sdkMapControlVisibilityValues = ['automatic', 'visible', 'hidden'] as const
export type SDKMapControlVisibility = (typeof sdkMapControlVisibilityValues)[number]
export const sdkMapFeatureSelectionAccessoryValues = [
  'automatic',
  'callout',
  'sheet',
  'caption',
] as const
export type SDKMapFeatureSelectionAccessory =
  (typeof sdkMapFeatureSelectionAccessoryValues)[number]
export const sdkMapStyleValues = ['standard', 'imagery', 'hybrid'] as const
export type SDKMapStyle = (typeof sdkMapStyleValues)[number]
export const sdkMaterialActiveAppearanceValues = [
  'automatic',
  'active',
  'matchWindow',
] as const
export type SDKMaterialActiveAppearance =
  (typeof sdkMaterialActiveAppearanceValues)[number]
export const sdkMenuActionDismissBehaviorValues = [
  'automatic',
  'enabled',
  'disabled',
] as const
export type SDKMenuActionDismissBehavior =
  (typeof sdkMenuActionDismissBehaviorValues)[number]
export const sdkMenuIndicatorValues = ['automatic', 'visible', 'hidden'] as const
export type SDKMenuIndicator = (typeof sdkMenuIndicatorValues)[number]
export const sdkMenuOrderValues = ['automatic', 'priority', 'fixed'] as const
export type SDKMenuOrder = (typeof sdkMenuOrderValues)[number]
export const sdkMenuStyleValues = ['button', 'automatic', 'borderlessButton'] as const
export type SDKMenuStyle = (typeof sdkMenuStyleValues)[number]
export const sdkMultilineTextAlignmentWithStrategyValues = [
  'layoutBased',
  'writingDirectionBased',
  'default',
] as const
export type SDKMultilineTextAlignmentWithStrategy =
  (typeof sdkMultilineTextAlignmentWithStrategyValues)[number]
export const sdkMultilineTextAlignmentWithTextAlignmentValues = [
  'leading',
  'center',
  'trailing',
] as const
export type SDKMultilineTextAlignmentWithTextAlignment =
  (typeof sdkMultilineTextAlignmentWithTextAlignmentValues)[number]
export const sdkNavigationBarTitleDisplayModeValues = [
  'automatic',
  'inline',
  'large',
] as const
export type SDKNavigationBarTitleDisplayMode =
  (typeof sdkNavigationBarTitleDisplayModeValues)[number]
export const sdkNavigationLinkIndicatorVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKNavigationLinkIndicatorVisibility =
  (typeof sdkNavigationLinkIndicatorVisibilityValues)[number]
export const sdkNavigationSplitViewStyleValues = [
  'balanced',
  'prominentDetail',
  'automatic',
] as const
export type SDKNavigationSplitViewStyle =
  (typeof sdkNavigationSplitViewStyleValues)[number]
export const sdkNavigationTransitionValues = ['automatic', 'crossFade'] as const
export type SDKNavigationTransition = (typeof sdkNavigationTransitionValues)[number]
export const sdkNavigationViewStyleValues = ['columns', 'automatic', 'stack'] as const
export type SDKNavigationViewStyle = (typeof sdkNavigationViewStyleValues)[number]
export const sdkOnKeyPressValues = ['handled', 'ignored'] as const
export type SDKOnKeyPress = (typeof sdkOnKeyPressValues)[number]
export const sdkOnScrollPhaseChangeValues = [
  'idle',
  'tracking',
  'interacting',
  'decelerating',
  'animating',
] as const
export type SDKOnScrollPhaseChange = (typeof sdkOnScrollPhaseChangeValues)[number]
export const sdkPaddingWithSetValues = [
  'top',
  'leading',
  'bottom',
  'trailing',
  'all',
  'horizontal',
  'vertical',
] as const
export type SDKPaddingWithSet = (typeof sdkPaddingWithSetValues)[number]
export const sdkPaletteSelectionEffectValues = ['automatic', 'custom'] as const
export type SDKPaletteSelectionEffect = (typeof sdkPaletteSelectionEffectValues)[number]
export const sdkPayLaterViewActionValues = ['learnMore', 'calculator'] as const
export type SDKPayLaterViewAction = (typeof sdkPayLaterViewActionValues)[number]
export const sdkPayLaterViewDisplayStyleValues = [
  'standard',
  'badge',
  'checkout',
  'price',
] as const
export type SDKPayLaterViewDisplayStyle =
  (typeof sdkPayLaterViewDisplayStyleValues)[number]
export const sdkPayWithApplePayButtonStyleValues = [
  'white',
  'whiteOutline',
  'black',
  'automatic',
] as const
export type SDKPayWithApplePayButtonStyle =
  (typeof sdkPayWithApplePayButtonStyleValues)[number]
export const sdkPersistentSystemOverlaysValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKPersistentSystemOverlays =
  (typeof sdkPersistentSystemOverlaysValues)[number]
export const sdkPhotosPickerDisabledCapabilitiesValues = [
  'collectionNavigation',
  'search',
  'selectionActions',
  'sensitivityAnalysisIntervention',
  'stagingArea',
] as const
export type SDKPhotosPickerDisabledCapabilities =
  (typeof sdkPhotosPickerDisabledCapabilitiesValues)[number]
export const sdkPhotosPickerMetadataOptionsValues = [
  'removeCaptions',
  'removeLocation',
] as const
export type SDKPhotosPickerMetadataOptions =
  (typeof sdkPhotosPickerMetadataOptionsValues)[number]
export const sdkPhotosPickerStyleValues = ['presentation', 'inline', 'compact'] as const
export type SDKPhotosPickerStyle = (typeof sdkPhotosPickerStyleValues)[number]
export const sdkPickerStyleValues = [
  'wheel',
  'inline',
  'automatic',
  'segmented',
  'tabs',
  'palette',
  'navigationLink',
  'menu',
] as const
export type SDKPickerStyle = (typeof sdkPickerStyleValues)[number]
export const sdkPreferencePreferredColorSchemeValues = ['light', 'dark'] as const
export type SDKPreferencePreferredColorScheme =
  (typeof sdkPreferencePreferredColorSchemeValues)[number]
export const sdkPreferredColorSchemeValues = ['light', 'dark'] as const
export type SDKPreferredColorScheme = (typeof sdkPreferredColorSchemeValues)[number]
export const sdkPresentationBackgroundValues = [
  'placeholder',
  'link',
  'selection',
  'windowBackground',
  'fill',
  'regularMaterial',
  'thickMaterial',
  'thinMaterial',
  'ultraThinMaterial',
  'ultraThickMaterial',
  'bar',
  'primary',
  'secondary',
  'tertiary',
  'quaternary',
  'quinary',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'separator',
  'background',
  'foreground',
  'tint',
] as const
export type SDKPresentationBackground = (typeof sdkPresentationBackgroundValues)[number]
export const sdkPresentationBackgroundInteractionValues = [
  'automatic',
  'enabled',
  'disabled',
] as const
export type SDKPresentationBackgroundInteraction =
  (typeof sdkPresentationBackgroundInteractionValues)[number]
export const sdkPresentationCompactAdaptationWithPresentationAdaptationValues = [
  'automatic',
  'none',
  'popover',
  'sheet',
  'fullScreenCover',
] as const
export type SDKPresentationCompactAdaptationWithPresentationAdaptation =
  (typeof sdkPresentationCompactAdaptationWithPresentationAdaptationValues)[number]
export const sdkPresentationContentInteractionValues = [
  'automatic',
  'resizes',
  'scrolls',
] as const
export type SDKPresentationContentInteraction =
  (typeof sdkPresentationContentInteractionValues)[number]
export const sdkPresentationDetentsValues = ['medium', 'large'] as const
export type SDKPresentationDetents = (typeof sdkPresentationDetentsValues)[number]
export const sdkPresentationDragIndicatorValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKPresentationDragIndicator =
  (typeof sdkPresentationDragIndicatorValues)[number]
export const sdkPresentationPlacementValues = [
  'automatic',
  'leading',
  'center',
  'trailing',
] as const
export type SDKPresentationPlacement = (typeof sdkPresentationPlacementValues)[number]
export const sdkPresentationSizingValues = [
  'form',
  'page',
  'fitted',
  'automatic',
] as const
export type SDKPresentationSizing = (typeof sdkPresentationSizingValues)[number]
export const sdkPreviewInterfaceOrientationValues = [
  'portrait',
  'portraitUpsideDown',
  'landscapeLeft',
  'landscapeRight',
] as const
export type SDKPreviewInterfaceOrientation =
  (typeof sdkPreviewInterfaceOrientationValues)[number]
export const sdkPreviewLayoutValues = ['device', 'sizeThatFits'] as const
export type SDKPreviewLayout = (typeof sdkPreviewLayoutValues)[number]
export const sdkProductDescriptionValues = ['automatic', 'visible', 'hidden'] as const
export type SDKProductDescription = (typeof sdkProductDescriptionValues)[number]
export const sdkProductViewStyleValues = [
  'automatic',
  'regular',
  'large',
  'compact',
] as const
export type SDKProductViewStyle = (typeof sdkProductViewStyleValues)[number]
export const sdkProgressViewStyleValues = ['linear', 'circular', 'automatic'] as const
export type SDKProgressViewStyle = (typeof sdkProgressViewStyleValues)[number]
export const sdkRealityViewCameraControlsValues = [
  'dolly',
  'none',
  'orbit',
  'pan',
  'tilt',
] as const
export type SDKRealityViewCameraControls =
  (typeof sdkRealityViewCameraControlsValues)[number]
export const sdkRealityViewLayoutBehaviorValues = [
  'flexible',
  'centered',
  'fixedSize',
] as const
export type SDKRealityViewLayoutBehavior =
  (typeof sdkRealityViewLayoutBehaviorValues)[number]
export const sdkRedactedValues = ['placeholder', 'privacy', 'invalidated'] as const
export type SDKRedacted = (typeof sdkRedactedValues)[number]
export const sdkSafeAreaPaddingWithSetValues = [
  'top',
  'leading',
  'bottom',
  'trailing',
  'all',
  'horizontal',
  'vertical',
] as const
export type SDKSafeAreaPaddingWithSet = (typeof sdkSafeAreaPaddingWithSetValues)[number]
export const sdkScenePaddingWithSetValues = [
  'top',
  'leading',
  'bottom',
  'trailing',
  'all',
  'horizontal',
  'vertical',
] as const
export type SDKScenePaddingWithSet = (typeof sdkScenePaddingWithSetValues)[number]
export const sdkScrollContentBackgroundValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKScrollContentBackground = (typeof sdkScrollContentBackgroundValues)[number]
export const sdkScrollDismissesKeyboardValues = [
  'automatic',
  'immediately',
  'interactively',
  'never',
] as const
export type SDKScrollDismissesKeyboard = (typeof sdkScrollDismissesKeyboardValues)[number]
export const sdkScrollTargetBehaviorValues = ['paging', 'viewAligned'] as const
export type SDKScrollTargetBehavior = (typeof sdkScrollTargetBehaviorValues)[number]
export const sdkScrollTransitionValues = ['opacity', 'scaleEffect'] as const
export type SDKScrollTransition = (typeof sdkScrollTransitionValues)[number]
export const sdkSearchDictationBehaviorValues = ['automatic'] as const
export type SDKSearchDictationBehavior = (typeof sdkSearchDictationBehaviorValues)[number]
export const sdkSearchPresentationToolbarBehaviorValues = [
  'automatic',
  'avoidHidingContent',
] as const
export type SDKSearchPresentationToolbarBehavior =
  (typeof sdkSearchPresentationToolbarBehaviorValues)[number]
export const sdkSearchToolbarBehaviorValues = ['automatic', 'minimize'] as const
export type SDKSearchToolbarBehavior = (typeof sdkSearchToolbarBehaviorValues)[number]
export const sdkShortcutsLinkStyleValues = [
  'automatic',
  'automaticOutline',
  'light',
  'lightOutline',
  'dark',
  'darkOutline',
] as const
export type SDKShortcutsLinkStyle = (typeof sdkShortcutsLinkStyleValues)[number]
export const sdkSignInWithAppleButtonStyleValues = [
  'black',
  'white',
  'whiteOutline',
] as const
export type SDKSignInWithAppleButtonStyle =
  (typeof sdkSignInWithAppleButtonStyleValues)[number]
export const sdkSiriTipViewStyleValues = ['automatic', 'light', 'dark'] as const
export type SDKSiriTipViewStyle = (typeof sdkSiriTipViewStyleValues)[number]
export const sdkSliderThumbVisibilityValues = ['automatic', 'visible', 'hidden'] as const
export type SDKSliderThumbVisibility = (typeof sdkSliderThumbVisibilityValues)[number]
export const sdkSpringLoadingBehaviorValues = [
  'automatic',
  'enabled',
  'disabled',
] as const
export type SDKSpringLoadingBehavior = (typeof sdkSpringLoadingBehaviorValues)[number]
export const sdkSubmitLabelValues = [
  'done',
  'go',
  'send',
  'join',
  'route',
  'search',
  'return',
  'next',
  'continue',
] as const
export type SDKSubmitLabel = (typeof sdkSubmitLabelValues)[number]
export const sdkSubscriptionOfferViewStyleValues = ['automatic', 'compact'] as const
export type SDKSubscriptionOfferViewStyle =
  (typeof sdkSubscriptionOfferViewStyleValues)[number]
export const sdkSubscriptionStoreButtonLabelValues = [
  'automatic',
  'singleLine',
  'multiline',
  'action',
  'displayName',
  'price',
] as const
export type SDKSubscriptionStoreButtonLabel =
  (typeof sdkSubscriptionStoreButtonLabelValues)[number]
export const sdkSubscriptionStoreControlBackgroundValues = [
  'automatic',
  'gradientMaterial',
  'gradientMaterialOnScroll',
] as const
export type SDKSubscriptionStoreControlBackground =
  (typeof sdkSubscriptionStoreControlBackgroundValues)[number]
export const sdkSubscriptionStoreControlStyleValues = [
  'pagedProminentPicker',
  'pagedPicker',
  'automatic',
  'compactPicker',
  'prominentPicker',
  'picker',
  'buttons',
] as const
export type SDKSubscriptionStoreControlStyle =
  (typeof sdkSubscriptionStoreControlStyleValues)[number]
export const sdkSubscriptionStoreOptionGroupStyleValues = [
  'automatic',
  'tabs',
  'links',
] as const
export type SDKSubscriptionStoreOptionGroupStyle =
  (typeof sdkSubscriptionStoreOptionGroupStyleValues)[number]
export const sdkSubscriptionStorePickerItemBackgroundValues = [
  'placeholder',
  'link',
  'selection',
  'windowBackground',
  'fill',
  'regularMaterial',
  'thickMaterial',
  'thinMaterial',
  'ultraThinMaterial',
  'ultraThickMaterial',
  'bar',
  'primary',
  'secondary',
  'tertiary',
  'quaternary',
  'quinary',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'separator',
  'background',
  'foreground',
  'tint',
] as const
export type SDKSubscriptionStorePickerItemBackground =
  (typeof sdkSubscriptionStorePickerItemBackgroundValues)[number]
export const sdkSubscriptionStorePolicyForegroundStyleValues = [
  'placeholder',
  'link',
  'selection',
  'windowBackground',
  'fill',
  'regularMaterial',
  'thickMaterial',
  'thinMaterial',
  'ultraThinMaterial',
  'ultraThickMaterial',
  'bar',
  'primary',
  'secondary',
  'tertiary',
  'quaternary',
  'quinary',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'separator',
  'background',
  'foreground',
  'tint',
] as const
export type SDKSubscriptionStorePolicyForegroundStyle =
  (typeof sdkSubscriptionStorePolicyForegroundStyleValues)[number]
export const sdkSymbolColorRenderingModeValues = ['flat', 'gradient'] as const
export type SDKSymbolColorRenderingMode =
  (typeof sdkSymbolColorRenderingModeValues)[number]
export const sdkSymbolEffectValues = [
  'pulse',
  'bounce',
  'variableColor',
  'scale',
  'wiggle',
  'rotate',
  'breathe',
] as const
export type SDKSymbolEffect = (typeof sdkSymbolEffectValues)[number]
export const sdkSymbolRenderingModeValues = [
  'monochrome',
  'multicolor',
  'hierarchical',
  'palette',
] as const
export type SDKSymbolRenderingMode = (typeof sdkSymbolRenderingModeValues)[number]
export const sdkSymbolVariableValueModeValues = ['color', 'draw'] as const
export type SDKSymbolVariableValueMode = (typeof sdkSymbolVariableValueModeValues)[number]
export const sdkSymbolVariantValues = [
  'none',
  'circle',
  'square',
  'rectangle',
  'fill',
  'slash',
] as const
export type SDKSymbolVariant = (typeof sdkSymbolVariantValues)[number]
export const sdkTabBarMinimizeBehaviorValues = [
  'automatic',
  'onScrollDown',
  'onScrollUp',
  'never',
] as const
export type SDKTabBarMinimizeBehavior = (typeof sdkTabBarMinimizeBehaviorValues)[number]
export const sdkTableColumnHeadersValues = ['automatic', 'visible', 'hidden'] as const
export type SDKTableColumnHeaders = (typeof sdkTableColumnHeadersValues)[number]
export const sdkTableStyleValues = ['inset', 'automatic'] as const
export type SDKTableStyle = (typeof sdkTableStyleValues)[number]
export const sdkTabViewSearchActivationValues = [
  'automatic',
  'searchTabSelection',
] as const
export type SDKTabViewSearchActivation = (typeof sdkTabViewSearchActivationValues)[number]
export const sdkTabViewStyleValues = [
  'sidebarAdaptable',
  'page',
  'tabBarOnly',
  'automatic',
] as const
export type SDKTabViewStyle = (typeof sdkTabViewStyleValues)[number]
export const sdkTextCaseValues = ['uppercase', 'lowercase'] as const
export type SDKTextCase = (typeof sdkTextCaseValues)[number]
export const sdkTextContentTypeValues = [
  'URL',
  'addressCity',
  'addressCityAndState',
  'addressState',
  'birthdate',
  'birthdateDay',
  'birthdateMonth',
  'birthdateYear',
  'cellularEID',
  'cellularIMEI',
  'cellularIMEI1',
  'cellularIMEI2',
  'cellularNAL',
  'countryName',
  'creditCardExpiration',
  'creditCardExpirationMonth',
  'creditCardExpirationYear',
  'creditCardFamilyName',
  'creditCardGivenName',
  'creditCardMiddleName',
  'creditCardName',
  'creditCardNumber',
  'creditCardSecurityCode',
  'creditCardType',
  'dateTime',
  'emailAddress',
  'familyName',
  'flightNumber',
  'fullStreetAddress',
  'givenName',
  'jobTitle',
  'location',
  'middleName',
  'name',
  'namePrefix',
  'nameSuffix',
  'newPassword',
  'nickname',
  'oneTimeCode',
  'organizationName',
  'password',
  'postalCode',
  'shipmentTrackingNumber',
  'streetAddressLine1',
  'streetAddressLine2',
  'sublocality',
  'telephoneNumber',
  'username',
] as const
export type SDKTextContentType = (typeof sdkTextContentTypeValues)[number]
export const sdkTextEditorStyleValues = ['automatic', 'plain'] as const
export type SDKTextEditorStyle = (typeof sdkTextEditorStyleValues)[number]
export const sdkTextFieldStyleValues = [
  'automatic',
  'roundedBorder',
  'bordered',
  'plain',
] as const
export type SDKTextFieldStyle = (typeof sdkTextFieldStyleValues)[number]
export const sdkTextInputAutocapitalizationValues = [
  'never',
  'words',
  'sentences',
  'characters',
] as const
export type SDKTextInputAutocapitalization =
  (typeof sdkTextInputAutocapitalizationValues)[number]
export const sdkTextInputBorderShapeValues = [
  'automatic',
  'capsule',
  'roundedRectangle',
] as const
export type SDKTextInputBorderShape = (typeof sdkTextInputBorderShapeValues)[number]
export const sdkTextSelectionValues = ['enabled', 'disabled'] as const
export type SDKTextSelection = (typeof sdkTextSelectionValues)[number]
export const sdkTextSelectionAffinityValues = [
  'automatic',
  'upstream',
  'downstream',
] as const
export type SDKTextSelectionAffinity = (typeof sdkTextSelectionAffinityValues)[number]
export const sdkTintWithOptionalColorValues = [
  'accentColor',
  'red',
  'orange',
  'yellow',
  'green',
  'mint',
  'teal',
  'cyan',
  'blue',
  'indigo',
  'purple',
  'pink',
  'brown',
  'white',
  'gray',
  'black',
  'clear',
  'primary',
  'secondary',
] as const
export type SDKTintWithOptionalColor = (typeof sdkTintWithOptionalColorValues)[number]
export const sdkToggleStyleValues = ['button', 'automatic', 'switch'] as const
export type SDKToggleStyle = (typeof sdkToggleStyleValues)[number]
export const sdkToolbarRoleValues = [
  'automatic',
  'navigationStack',
  'browser',
  'editor',
] as const
export type SDKToolbarRole = (typeof sdkToolbarRoleValues)[number]
export const sdkToolbarTitleDisplayModeValues = [
  'automatic',
  'large',
  'inlineLarge',
  'inline',
] as const
export type SDKToolbarTitleDisplayMode = (typeof sdkToolbarTitleDisplayModeValues)[number]
export const sdkToolbarWithRemovingValues = ['sidebarToggle', 'title', 'search'] as const
export type SDKToolbarWithRemoving = (typeof sdkToolbarWithRemovingValues)[number]
export const sdkTransformPreferencePreferredColorSchemeValues = ['light', 'dark'] as const
export type SDKTransformPreferencePreferredColorScheme =
  (typeof sdkTransformPreferencePreferredColorSchemeValues)[number]
export const sdkTransitionValues = ['opacity', 'slide', 'identity', 'scale'] as const
export type SDKTransition = (typeof sdkTransitionValues)[number]
export const sdkTruncationModeValues = ['head', 'tail', 'middle'] as const
export type SDKTruncationMode = (typeof sdkTruncationModeValues)[number]
export const sdkVerifyIdentityWithWalletButtonStyleValues = [
  'black',
  'blackOutline',
] as const
export type SDKVerifyIdentityWithWalletButtonStyle =
  (typeof sdkVerifyIdentityWithWalletButtonStyleValues)[number]
export const sdkVisualEffectValues = ['opacity', 'scaleEffect'] as const
export type SDKVisualEffect = (typeof sdkVisualEffectValues)[number]
export const sdkWebViewBackForwardNavigationGesturesValues = [
  'automatic',
  'enabled',
  'disabled',
] as const
export type SDKWebViewBackForwardNavigationGestures =
  (typeof sdkWebViewBackForwardNavigationGesturesValues)[number]
export const sdkWebViewContentBackgroundValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKWebViewContentBackground =
  (typeof sdkWebViewContentBackgroundValues)[number]
export const sdkWebViewElementFullscreenBehaviorValues = [
  'automatic',
  'enabled',
  'disabled',
] as const
export type SDKWebViewElementFullscreenBehavior =
  (typeof sdkWebViewElementFullscreenBehaviorValues)[number]
export const sdkWebViewLinkPreviewsValues = ['automatic', 'enabled', 'disabled'] as const
export type SDKWebViewLinkPreviews = (typeof sdkWebViewLinkPreviewsValues)[number]
export const sdkWebViewMagnificationGesturesValues = [
  'automatic',
  'enabled',
  'disabled',
] as const
export type SDKWebViewMagnificationGestures =
  (typeof sdkWebViewMagnificationGesturesValues)[number]
export const sdkWebViewTextSelectionValues = ['enabled', 'disabled'] as const
export type SDKWebViewTextSelection = (typeof sdkWebViewTextSelectionValues)[number]
export const sdkWindowToolbarFullScreenVisibilityValues = ['automatic'] as const
export type SDKWindowToolbarFullScreenVisibility =
  (typeof sdkWindowToolbarFullScreenVisibilityValues)[number]
export const sdkWritingDirectionValues = [
  'layoutBased',
  'contentBased',
  'default',
] as const
export type SDKWritingDirection = (typeof sdkWritingDirectionValues)[number]
export const sdkWritingToolsAffordanceVisibilityValues = [
  'automatic',
  'visible',
  'hidden',
] as const
export type SDKWritingToolsAffordanceVisibility =
  (typeof sdkWritingToolsAffordanceVisibilityValues)[number]
export const sdkWritingToolsBehaviorValues = [
  'automatic',
  'complete',
  'limited',
  'disabled',
] as const
export type SDKWritingToolsBehavior = (typeof sdkWritingToolsBehaviorValues)[number]

export interface OneNativeStyle {
  fontSize?: number
  fontWeight?: string
  fontDesign?: string
  textStyle?: string
  foregroundStyle?: ColorValue
  tint?: ColorValue
  background?: ColorValue
  padding?: number
  paddingTop?: number
  paddingLeading?: number
  paddingBottom?: number
  paddingTrailing?: number
  width?: number
  height?: number
  minWidth?: number
  idealWidth?: number
  maxWidth?: number
  minHeight?: number
  idealHeight?: number
  maxHeight?: number
  cornerRadius?: number
  opacity?: number
  borderColor?: ColorValue
  borderWidth?: number
  glassEffect?: GlassEffect
  glassEffectInteractive?: boolean
  glassEffectTint?: ColorValue
  glassEffectShape?: GlassEffectShape
  material?: Material
  accentColor?: SDKAccentColor | null
  accessibilityAction?: () => void
  accessibilityActionWithAppIntent?: string
  accessibilityActivationPointWithActivationPointAndIsEnabled?: Readonly<{
    activationPoint:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
    isEnabled: boolean
  }>
  accessibilityActivationPointWithUnitPoint?: SDKAccessibilityActivationPointWithUnitPoint
  accessibilityAddTraits?: SDKAccessibilityAddTraits
  accessibilityAdjustableAction?: (value: 'increment' | 'decrement') => void
  accessibilityChartDescriptor?: Readonly<{
    title?: string
    summary?: string
    xAxis: Readonly<{
      title: string
      range: readonly [number, number]
      gridlinePositions?: readonly number[]
    }>
    yAxis?: Readonly<{
      title: string
      range: readonly [number, number]
      gridlinePositions?: readonly number[]
    }>
    series: readonly Readonly<{
      name: string
      isContinuous: boolean
      points: readonly Readonly<{ x: number; y?: number; label?: string }>[]
    }>[]
  }>
  accessibilityCustomContent?: Readonly<{ label: string; value: string }>
  accessibilityDefaultFocus?: boolean
  accessibilityDirectTouch?: Readonly<{
    isDirectTouchArea: boolean
    options: 'silentOnTouch' | 'requiresActivation'
  }>
  accessibilityDragPointWithPointAndDescription?: Readonly<{
    point:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
    description: string
  }>
  accessibilityDragPointWithPointAndDescriptionAndIsEnabled?: Readonly<{
    point:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
    description: string
    isEnabled: boolean
  }>
  accessibilityDropPointWithPointAndDescription?: Readonly<{
    point:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
    description: string
  }>
  accessibilityDropPointWithPointAndDescriptionAndIsEnabled?: Readonly<{
    point:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
    description: string
    isEnabled: boolean
  }>
  accessibilityElement?: SDKAccessibilityElement
  accessibilityFocused?: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  accessibilityHeading?: SDKAccessibilityHeading
  accessibilityHiddenWithBool?: boolean
  accessibilityHiddenWithHiddenAndIsEnabled?: Readonly<{
    hidden: boolean
    isEnabled: boolean
  }>
  accessibilityHintWithHintAndIsEnabled?: Readonly<{ hint: string; isEnabled: boolean }>
  accessibilityHintWithText?: string
  accessibilityIdentifierWithIdentifierAndIsEnabled?: Readonly<{
    identifier: string
    isEnabled: boolean
  }>
  accessibilityIdentifierWithString?: string
  accessibilityIgnoresInvertColors?: boolean
  accessibilityInputLabels?: Readonly<{
    inputLabels: readonly string[]
    isEnabled: boolean
  }>
  accessibilityLabeledPair?: Readonly<{ role: 'label' | 'content'; id: string }>
  accessibilityLabelWithLabelAndIsEnabled?: Readonly<{
    label: string
    isEnabled: boolean
  }>
  accessibilityLabelWithText?: string
  accessibilityLinkedGroup?: Readonly<{ id: string }>
  accessibilityRemoveTraits?: SDKAccessibilityRemoveTraits
  accessibilityRespondsToUserInteractionWithBool?: boolean
  accessibilityRespondsToUserInteractionWithRespondsToUserInteractionAndIsEnabled?: Readonly<{
    respondsToUserInteraction: boolean
    isEnabled: boolean
  }>
  accessibilityRotor?: Readonly<{ rotorLabel: string; entries: readonly string[] }>
  accessibilityRotorEntry?: Readonly<{ id: string }>
  accessibilityScrollAction?: (value: 'top' | 'leading' | 'bottom' | 'trailing') => void
  accessibilityScrollStatus?: Readonly<{ status: string; isEnabled: boolean }>
  accessibilityShowsLargeContentViewer?: boolean
  accessibilitySortPriority?: number
  accessibilityTextContentType?: SDKAccessibilityTextContentType
  accessibilityValueWithText?: string
  accessibilityValueWithValueDescriptionAndIsEnabled?: Readonly<{
    valueDescription: string
    isEnabled: boolean
  }>
  accessibilityWithActivationPoint?: SDKAccessibilityWithActivationPoint
  accessibilityWithAddTraits?: SDKAccessibilityWithAddTraits
  accessibilityWithHidden?: boolean
  accessibilityWithHint?: string
  accessibilityWithIdentifier?: string
  accessibilityWithLabel?: string
  accessibilityWithRemoveTraits?: SDKAccessibilityWithRemoveTraits
  accessibilityWithSortPriority?: number
  accessibilityWithValue?: string
  accessibilityZoomAction?: (value: {
    direction: 'zoomIn' | 'zoomOut'
    location: { x: number; y: number }
    point: { x: number; y: number }
  }) => void
  actionSheet?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    title: string
  }>
  addPassToWalletButtonStyle?: SDKAddPassToWalletButtonStyle
  alert?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    title: string
  }>
  alignmentGuideWithHorizontalAlignment?: Readonly<{
    g:
      | 'leading'
      | 'center'
      | 'trailing'
      | 'listRowSeparatorLeading'
      | 'listRowSeparatorTrailing'
    computeValue: number
  }>
  alignmentGuideWithVerticalAlignment?: Readonly<{
    g: 'top' | 'center' | 'bottom' | 'firstTextBaseline' | 'lastTextBaseline'
    computeValue: number
  }>
  allowedDynamicRange?: SDKAllowedDynamicRange | null
  allowsHitTesting?: boolean
  allowsTightening?: boolean
  allowsWindowActivationEventsWithNoArguments?: boolean
  allowsWindowActivationEventsWithOptionalBool?: boolean | null
  anchorPreference?: (value: {
    origin: { x: number; y: number }
    size: { width: number; height: number }
  }) => void
  animation?: SDKAnimation | null
  appEntityIdentifier?: string | null
  appEntityUIElements?: string
  appStoreMerchandising?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    kind: string
  }>
  appStoreOverlayWithAppClipConfiguration?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    position: 'bottom' | 'bottomRaised'
  }>
  appStoreOverlayWithAppConfiguration?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    appIdentifier: string
    position: 'bottom' | 'bottomRaised'
  }>
  aspectRatio?: Readonly<{ aspectRatio: number | null; contentMode: 'fit' | 'fill' }>
  assistiveAccessNavigationIconWithImage?: string
  assistiveAccessNavigationIconWithSystemImage?: string
  asyncImageURLSession?: SDKAsyncImageURLSession
  attributedTextFormattingDefinition?: string
  autocapitalization?: SDKAutocapitalization
  autocorrectionDisabled?: boolean
  backgroundExtensionEffectWithIsEnabled?: boolean
  backgroundExtensionEffectWithNoArguments?: boolean
  backgroundStyle?: SDKBackgroundStyle
  badgeProminence?: SDKBadgeProminence
  badgeWithInt?: number
  badgeWithOptionalText?: string | null
  baselineOffset?: number
  blendMode?: SDKBlendMode
  blur?: Readonly<{ radius: number; opaque: boolean }>
  bold?: boolean
  brightness?: number
  buttonBorderShape?: SDKButtonBorderShape
  buttonRepeatBehavior?: SDKButtonRepeatBehavior
  buttonSizing?: SDKButtonSizing
  buttonStyle?: SDKButtonStyle
  clipped?: boolean
  clipShape?: SDKClipShape
  colorEffect?: Readonly<{ shader: string; isEnabled: boolean }>
  colorInvert?: boolean
  colorMultiply?: SDKColorMultiply
  colorScheme?: SDKColorScheme
  compositingGroup?: boolean
  containerCornerOffset?: Readonly<{
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
    sizeToFit: boolean
  }>
  containerRelativeFrameWithAxesAndAlignment?: Readonly<{
    axes: 'horizontal' | 'vertical'
    alignment:
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
      | 'centerFirstTextBaseline'
      | 'centerLastTextBaseline'
      | 'leadingFirstTextBaseline'
      | 'leadingLastTextBaseline'
      | 'trailingFirstTextBaseline'
      | 'trailingLastTextBaseline'
  }>
  containerRelativeFrameWithAxesAndCountAndSpanAndSpacingAndAlignment?: Readonly<{
    axes: 'horizontal' | 'vertical'
    count: number
    span: number
    spacing: number
    alignment:
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
      | 'centerFirstTextBaseline'
      | 'centerLastTextBaseline'
      | 'leadingFirstTextBaseline'
      | 'leadingLastTextBaseline'
      | 'trailingFirstTextBaseline'
      | 'trailingLastTextBaseline'
  }>
  containerShape?: SDKContainerShape
  containerValue?: string
  contentMarginsWithEdgesAndLengthAndPlacement?: Readonly<{
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
    length: number | null
    placement: 'automatic' | 'scrollContent' | 'scrollIndicators'
  }>
  contentMarginsWithLengthAndPlacement?: Readonly<{
    length: number
    placement: 'automatic' | 'scrollContent' | 'scrollIndicators'
  }>
  contentShape?: SDKContentShape
  contentTransition?: SDKContentTransition
  contrast?: number
  controlGroupStyle?: SDKControlGroupStyle
  controlSize?: SDKControlSize
  coordinateSpace?: string
  copyable?: Readonly<{ payload: readonly string[] }>
  cornerRadiusWithRadiusAndAntialiased?: Readonly<{
    radius: number
    antialiased: boolean
  }>
  currentEntitlementTask?: Readonly<{
    productID: string
    onAction: (
      value:
        | { case: 'loading'; values: readonly [] }
        | { case: 'failure'; values: readonly [string] }
        | {
            case: 'success'
            values: readonly [
              | { case: 'verified'; jwsRepresentation: string; error: null }
              | { case: 'unverified'; jwsRepresentation: string; error: string }
              | null,
            ]
          }
        | { case: 'unknown'; values: readonly [] }
    ) => void | Promise<void>
  }>
  cuttable?: Readonly<{ items: readonly string[]; onAction: () => void }>
  dataDetection?: boolean
  datePickerStyle?: SDKDatePickerStyle
  defaultAdaptableTabBarPlacement?: SDKDefaultAdaptableTabBarPlacement
  defaultAppStorage?: SDKDefaultAppStorage
  defaultFocus?: boolean
  defaultHoverEffect?: SDKDefaultHoverEffect | null
  defaultScrollAnchorWithAnchorAndRole?: Readonly<{
    anchor:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
      | null
    role: 'initialOffset' | 'sizeChanges' | 'alignment'
  }>
  defaultScrollAnchorWithOptionalUnitPoint?: SDKDefaultScrollAnchorWithOptionalUnitPoint | null
  defaultTabBarPlacement?: SDKDefaultTabBarPlacement
  defersSystemGestures?: SDKDefersSystemGestures
  deleteDisabled?: boolean
  dialogIcon?: string | null
  dialogSuppressionToggle?: Readonly<{
    value: boolean
    onChange: (value: boolean) => void
  }>
  dialogSuppressionToggleWithLabelAndIsSuppressed?: Readonly<{
    label: string
    isSuppressed: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  }>
  disableAutocorrection?: boolean | null
  disabled?: boolean
  disclosureGroupStyle?: SDKDisclosureGroupStyle
  distortionEffect?: Readonly<{
    shader: string
    maxSampleOffset: Readonly<{ width: number; height: number }>
    isEnabled: boolean
  }>
  documentLaunchSubtitle?: string
  documentLaunchTitle?: string
  dragConfiguration?: boolean
  dragContainer?: boolean
  dragContainerSelection?: readonly string[]
  draggable?: Readonly<{ payload: string }>
  draggableWithContainerItemID?: string
  drawingGroup?: Readonly<{
    opaque: boolean
    colorMode: 'nonLinear' | 'linear' | 'extendedLinear'
  }>
  dropConfiguration?: Readonly<{
    result: 'cancel' | 'forbidden' | 'copy' | 'move'
    onAction: (value: {
      itemsCount: number
      suggestedOperations: { rawValue: number }
      size: { width: number; height: number }
      location: { x: number; y: number }
    }) => void
  }>
  dropDestination?: (value: {
    items: readonly string[]
    session: {
      itemsCount: number
      suggestedOperations: { rawValue: number }
      size: { width: number; height: number }
      location: { x: number; y: number }
    }
  }) => void
  dynamicTypeSize?: SDKDynamicTypeSize
  edgesIgnoringSafeArea?: SDKEdgesIgnoringSafeArea
  environment?: string
  environmentAccessibilityEnabled?: boolean
  environmentAccessibilityPrefersCrossFadeTransitions?: boolean
  environmentAllowedDynamicRange?: SDKEnvironmentAllowedDynamicRange | null
  environmentAllowsTightening?: boolean
  environmentAppearsActive?: boolean
  environmentAutocorrectionDisabled?: boolean
  environmentBackgroundMaterial?: SDKEnvironmentBackgroundMaterial | null
  environmentBackgroundProminence?: SDKEnvironmentBackgroundProminence
  environmentBadgeProminence?: SDKEnvironmentBadgeProminence
  environmentCalendar?: SDKEnvironmentCalendar
  environmentColorScheme?: SDKEnvironmentColorScheme
  environmentContentTransition?: SDKEnvironmentContentTransition
  environmentContentTransitionAddsDrawingGroup?: boolean
  environmentControlSize?: SDKEnvironmentControlSize
  environmentDefaultMinListHeaderHeight?: number | null
  environmentDefaultMinListRowHeight?: number
  environmentDisableAutocorrection?: boolean | null
  environmentDisplayScale?: number
  environmentDynamicTypeSize?: SDKEnvironmentDynamicTypeSize
  environmentFont?: SDKEnvironmentFont | null
  environmentHeaderProminence?: SDKEnvironmentHeaderProminence
  environmentHorizontalScrollBounceBehavior?: SDKEnvironmentHorizontalScrollBounceBehavior
  environmentHorizontalScrollIndicatorVisibility?: SDKEnvironmentHorizontalScrollIndicatorVisibility
  environmentHorizontalSizeClass?: SDKEnvironmentHorizontalSizeClass | null
  environmentImageScale?: SDKEnvironmentImageScale
  environmentIsEnabled?: boolean
  environmentIsFocusEffectEnabled?: boolean
  environmentIsHoverEffectEnabled?: boolean
  environmentIsLuminanceReduced?: boolean
  environmentIsSceneCaptured?: boolean
  environmentIsScrollEnabled?: boolean
  environmentLabelsVisibility?: SDKEnvironmentLabelsVisibility
  environmentLayoutDirection?: SDKEnvironmentLayoutDirection
  environmentLegibilityWeight?: SDKEnvironmentLegibilityWeight | null
  environmentLineHeight?: SDKEnvironmentLineHeight | null
  environmentLineLimit?: number | null
  environmentLineSpacing?: number
  environmentLocale?: SDKEnvironmentLocale
  environmentMaterialActiveAppearance?: SDKEnvironmentMaterialActiveAppearance
  environmentMenuIndicatorVisibility?: SDKEnvironmentMenuIndicatorVisibility
  environmentMenuOrder?: SDKEnvironmentMenuOrder
  environmentMinimumScaleFactor?: number
  environmentMultilineTextAlignment?: SDKEnvironmentMultilineTextAlignment
  environmentObject?: string
  environmentRealityViewCameraControls?: SDKEnvironmentRealityViewCameraControls
  environmentRedactionReasons?: SDKEnvironmentRedactionReasons
  environmentScenePhase?: SDKEnvironmentScenePhase
  environmentScrollDismissesKeyboardMode?: SDKEnvironmentScrollDismissesKeyboardMode
  environmentSidebarRowSize?: SDKEnvironmentSidebarRowSize
  environmentSizeCategory?: SDKEnvironmentSizeCategory
  environmentSymbolColorRenderingMode?: SDKEnvironmentSymbolColorRenderingMode | null
  environmentSymbolRenderingMode?: SDKEnvironmentSymbolRenderingMode | null
  environmentSymbolVariableValueMode?: SDKEnvironmentSymbolVariableValueMode | null
  environmentSymbolVariants?: SDKEnvironmentSymbolVariants
  environmentSystemPrefersReducedResourceUsage?: boolean
  environmentTextCase?: SDKEnvironmentTextCase | null
  environmentTextSelectionAffinity?: SDKEnvironmentTextSelectionAffinity
  environmentTimeZone?: SDKEnvironmentTimeZone
  environmentTruncationMode?: SDKEnvironmentTruncationMode
  environmentVerticalScrollBounceBehavior?: SDKEnvironmentVerticalScrollBounceBehavior
  environmentVerticalScrollIndicatorVisibility?: SDKEnvironmentVerticalScrollIndicatorVisibility
  environmentVerticalSizeClass?: SDKEnvironmentVerticalSizeClass | null
  equatable?: string
  fileDialogBrowserOptions?: SDKFileDialogBrowserOptions
  fileDialogConfirmationLabel?: string | null
  fileDialogCustomizationID?: string
  fileDialogDefaultDirectory?: string | null
  fileDialogImportsUnresolvedAliases?: boolean
  fileDialogMessage?: string | null
  fileDialogURLEnabled?: boolean
  fileExporter?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    item: string | null
    onCompletion: (result: Readonly<{ success: string } | { failure: string }>) => void
  }>
  fileExporterFilenameLabel?: string | null
  fileImporterWithIsPresentedAndAllowedContentTypesAndAllowsMultipleSelectionAndOnCompletion?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    allowedContentTypes: readonly string[]
    allowsMultipleSelection: boolean
    onCompletion: (
      result: Readonly<{ success: readonly string[] } | { failure: string }>
    ) => void
  }>
  fileImporterWithIsPresentedAndAllowedContentTypesAndOnCompletion?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    allowedContentTypes: readonly string[]
    onCompletion: (result: Readonly<{ success: string } | { failure: string }>) => void
  }>
  fileMover?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    file: string | null
    onCompletion: (result: Readonly<{ success: string } | { failure: string }>) => void
  }>
  findDisabled?: boolean
  findNavigator?: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  fixedSizeWithHorizontalAndVertical?: Readonly<{
    horizontal: boolean
    vertical: boolean
  }>
  fixedSizeWithNoArguments?: boolean
  flipsForRightToLeftLayoutDirection?: boolean
  focusableWithBool?: boolean
  focusableWithIsFocusableAndInteractions?: Readonly<{
    isFocusable: boolean
    interactions: 'activate' | 'edit' | 'automatic'
  }>
  focused?: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  focusedObject?: string
  focusedSceneObject?: string
  focusedSceneValue?: string
  focusedValue?: string
  focusEffectDisabled?: boolean
  font?: SDKFont | null
  fontDesignWithOptionalDesign?: SDKFontDesignWithOptionalDesign | null
  fontWeightWithOptionalWeight?: SDKFontWeightWithOptionalWeight | null
  fontWidth?: SDKFontWidth | null
  foregroundColor?: SDKForegroundColor | null
  formStyle?: SDKFormStyle
  frameWithMinWidthAndIdealWidthAndMaxWidthAndMinHeightAndIdealHeightAndMaxHeightAndAlignment?: Readonly<{
    minWidth: number | null
    idealWidth: number | null
    maxWidth: number | null
    minHeight: number | null
    idealHeight: number | null
    maxHeight: number | null
    alignment:
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
      | 'centerFirstTextBaseline'
      | 'centerLastTextBaseline'
      | 'leadingFirstTextBaseline'
      | 'leadingLastTextBaseline'
      | 'trailingFirstTextBaseline'
      | 'trailingLastTextBaseline'
  }>
  frameWithNoArguments?: boolean
  frameWithWidthAndHeightAndAlignment?: Readonly<{
    width: number | null
    height: number | null
    alignment:
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
      | 'centerFirstTextBaseline'
      | 'centerLastTextBaseline'
      | 'leadingFirstTextBaseline'
      | 'leadingLastTextBaseline'
      | 'trailingFirstTextBaseline'
      | 'trailingLastTextBaseline'
  }>
  gaugeStyle?: SDKGaugeStyle
  geometryGroup?: boolean
  gesture?:
    | Readonly<{
        kind: 'drag'
        onEnded: (value: {
          location: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{ kind: 'longPress'; onEnded: (value: boolean) => void }>
    | Readonly<{
        kind: 'magnify'
        onEnded: (value: {
          magnification: number
          velocity: number
          startAnchor: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{
        kind: 'rotate'
        onEnded: (value: {
          rotation: { radians: number }
          velocity: { radians: number }
          startAnchor: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{
        kind: 'spatialTap'
        onEnded: (value: { location: { x: number; y: number } }) => void
      }>
    | Readonly<{ kind: 'tap'; onEnded: () => void }>
  gestureWithUITapRecognizer?: () => void
  glassEffectID?: Readonly<{ id: string | null }>
  glassEffectTransition?: SDKGlassEffectTransition
  glassEffectUnion?: Readonly<{ id: string | null }>
  glassEffectWithGlass?: SDKGlassEffectWithGlass
  grayscale?: number
  gridCellAnchor?: SDKGridCellAnchor
  gridCellColumns?: number
  gridCellUnsizedAxes?: SDKGridCellUnsizedAxes
  gridColumnAlignment?: SDKGridColumnAlignment
  groupBoxStyle?: SDKGroupBoxStyle
  handGestureShortcut?: Readonly<{ shortcut: 'primaryAction'; isEnabled: boolean }>
  handlesExternalEvents?: Readonly<{
    preferring: readonly string[]
    allowing: readonly string[]
  }>
  handlesGameControllerEvents?: SDKHandlesGameControllerEvents
  headerProminence?: SDKHeaderProminence
  help?: string
  hidden?: boolean
  highPriorityGesture?:
    | Readonly<{
        kind: 'drag'
        onEnded: (value: {
          location: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{ kind: 'longPress'; onEnded: (value: boolean) => void }>
    | Readonly<{
        kind: 'magnify'
        onEnded: (value: {
          magnification: number
          velocity: number
          startAnchor: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{
        kind: 'rotate'
        onEnded: (value: {
          rotation: { radians: number }
          velocity: { radians: number }
          startAnchor: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{
        kind: 'spatialTap'
        onEnded: (value: { location: { x: number; y: number } }) => void
      }>
    | Readonly<{ kind: 'tap'; onEnded: () => void }>
  hoverEffectDisabled?: boolean
  hoverEffectWithHoverEffect?: SDKHoverEffectWithHoverEffect
  hoverEffectWithHoverEffectFromSwiftUICore?: SDKHoverEffectWithHoverEffectFromSwiftUICore
  hueRotation?: SDKHueRotation
  id?: string
  ignoresSafeAreaWithRegionsAndEdgesAndAlignment?: Readonly<{
    regions: 'container' | 'keyboard' | 'all'
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
    alignment:
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
      | 'centerFirstTextBaseline'
      | 'centerLastTextBaseline'
      | 'leadingFirstTextBaseline'
      | 'leadingLastTextBaseline'
      | 'trailingFirstTextBaseline'
      | 'trailingLastTextBaseline'
      | null
  }>
  ignoresSafeAreaWithSafeAreaRegions?: SDKIgnoresSafeAreaWithSafeAreaRegions
  imageScale?: SDKImageScale
  inAppPurchaseOptions?: Readonly<{
    quantity?: number
    simulatesAskToBuyInSandbox?: boolean
    introductoryOfferEligibility?: string
  }>
  indexViewStyle?: SDKIndexViewStyle
  inspectorColumnWidthWithCGFloat?: number
  inspectorColumnWidthWithMinAndIdealAndMax?: Readonly<{
    min: number | null
    ideal: number
    max: number | null
  }>
  interactionActivityTrackingTag?: string
  interactiveDismissDisabled?: boolean
  invalidatableContent?: boolean
  italic?: boolean
  itemProvider?: string
  kerning?: number
  keyboardShortcutWithKeyAndModifiers?: Readonly<{
    key:
      | 'upArrow'
      | 'downArrow'
      | 'leftArrow'
      | 'rightArrow'
      | 'escape'
      | 'delete'
      | 'deleteForward'
      | 'home'
      | 'end'
      | 'pageUp'
      | 'pageDown'
      | 'clear'
      | 'tab'
      | 'space'
      | 'return'
    modifiers:
      | 'capsLock'
      | 'shift'
      | 'control'
      | 'option'
      | 'command'
      | 'numericPad'
      | 'function'
      | 'all'
  }>
  keyboardShortcutWithKeyAndModifiersAndLocalization?: Readonly<{
    key:
      | 'upArrow'
      | 'downArrow'
      | 'leftArrow'
      | 'rightArrow'
      | 'escape'
      | 'delete'
      | 'deleteForward'
      | 'home'
      | 'end'
      | 'pageUp'
      | 'pageDown'
      | 'clear'
      | 'tab'
      | 'space'
      | 'return'
    modifiers:
      | 'capsLock'
      | 'shift'
      | 'control'
      | 'option'
      | 'command'
      | 'numericPad'
      | 'function'
      | 'all'
    localization: 'automatic' | 'withoutMirroring' | 'custom'
  }>
  keyboardShortcutWithKeyboardShortcut?: SDKKeyboardShortcutWithKeyboardShortcut
  keyboardShortcutWithOptionalKeyboardShortcut?: SDKKeyboardShortcutWithOptionalKeyboardShortcut | null
  keyboardType?: SDKKeyboardType
  keyframeAnimator?: Readonly<{
    effect: 'opacity' | 'scale' | 'blur'
    initialValue: number
    frames: readonly Readonly<{ value: number; duration: number }>[]
    repeating?: boolean
  }>
  labeledContentStyle?: SDKLabeledContentStyle
  labelIconToTitleSpacing?: number
  labelReservedIconWidth?: number
  labelsHidden?: boolean
  labelStyle?: SDKLabelStyle
  labelsVisibility?: SDKLabelsVisibility
  layerEffect?: Readonly<{
    shader: string
    maxSampleOffset: Readonly<{ width: number; height: number }>
    isEnabled: boolean
  }>
  layoutDirectionBehavior?: SDKLayoutDirectionBehavior
  layoutPriority?: number
  layoutValue?: string
  lineHeight?: SDKLineHeight | null
  lineLimitWithLimitAndReservesSpace?: Readonly<{ limit: number; reservesSpace: boolean }>
  lineLimitWithOptionalInt?: number | null
  lineSpacing?: number
  listItemTintWithOptionalColor?: SDKListItemTintWithOptionalColor | null
  listItemTintWithOptionalListItemTint?: SDKListItemTintWithOptionalListItemTint | null
  listRowInsets?: Readonly<{
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
    length: number | null
  }>
  listRowSeparator?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    edges: 'top' | 'bottom' | 'all'
  }>
  listRowSeparatorTint?: Readonly<{
    color:
      | 'accentColor'
      | 'red'
      | 'orange'
      | 'yellow'
      | 'green'
      | 'mint'
      | 'teal'
      | 'cyan'
      | 'blue'
      | 'indigo'
      | 'purple'
      | 'pink'
      | 'brown'
      | 'white'
      | 'gray'
      | 'black'
      | 'clear'
      | 'primary'
      | 'secondary'
      | null
    edges: 'top' | 'bottom' | 'all'
  }>
  listRowSpacing?: number | null
  listSectionIndexVisibility?: SDKListSectionIndexVisibility
  listSectionMargins?: Readonly<{
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
    length: number | null
  }>
  listSectionSeparator?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    edges: 'top' | 'bottom' | 'all'
  }>
  listSectionSeparatorTint?: Readonly<{
    color:
      | 'accentColor'
      | 'red'
      | 'orange'
      | 'yellow'
      | 'green'
      | 'mint'
      | 'teal'
      | 'cyan'
      | 'blue'
      | 'indigo'
      | 'purple'
      | 'pink'
      | 'brown'
      | 'white'
      | 'gray'
      | 'black'
      | 'clear'
      | 'primary'
      | 'secondary'
      | null
    edges: 'top' | 'bottom' | 'all'
  }>
  listSectionSpacingWithCGFloat?: number
  listSectionSpacingWithListSectionSpacing?: SDKListSectionSpacingWithListSectionSpacing
  listStyle?: SDKListStyle
  lookAroundViewer?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    latitude: number
    longitude: number
  }>
  luminanceToAlpha?: boolean
  manageSubscriptionsSheet?: Readonly<{
    value: boolean
    onChange: (value: boolean) => void
  }>
  manageSubscriptionsSheetWithIsPresentedAndSubscriptionGroupID?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    subscriptionGroupID: string
  }>
  mapCameraKeyframeAnimator?: Readonly<{
    trigger: string
    property: 'distance' | 'heading' | 'pitch'
    frames: readonly Readonly<{ value: number; duration: number }>[]
  }>
  mapControlVisibility?: SDKMapControlVisibility
  mapFeatureSelectionAccessory?: SDKMapFeatureSelectionAccessory | null
  mapFeatureSelectionContent?: string
  mapFeatureSelectionDisabled?: boolean
  mapItemDetailPopoverWithCurrentLocation?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  }>
  mapItemDetailPopoverWithCurrentLocationAndArrowEdge?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    arrowEdge: 'top' | 'leading' | 'bottom' | 'trailing'
  }>
  mapItemDetailSheetWithCurrentLocation?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  }>
  mapScope?: boolean
  mapStyle?: SDKMapStyle
  matchedGeometryEffect?: Readonly<{ id: string }>
  matchedTransitionSource?: Readonly<{ id: string }>
  materialActiveAppearance?: SDKMaterialActiveAppearance
  menuActionDismissBehavior?: SDKMenuActionDismissBehavior
  menuIndicator?: SDKMenuIndicator
  menuOrder?: SDKMenuOrder
  menuStyle?: SDKMenuStyle
  minimumScaleFactor?: number
  modelContainer?: string
  modelContext?: string
  modifier?: string
  monospaced?: boolean
  monospacedDigit?: boolean
  moveDisabled?: boolean
  multilineTextAlignmentWithStrategy?: SDKMultilineTextAlignmentWithStrategy
  multilineTextAlignmentWithTextAlignment?: SDKMultilineTextAlignmentWithTextAlignment
  musicPickerWithMusicVideo?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    title?: string
    onSelection: (id: string) => void
  }>
  musicPickerWithSong?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    title?: string
    onSelection: (id: string) => void
  }>
  musicPickerWithTrack?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    title?: string
    onSelection: (id: string) => void
  }>
  musicSubscriptionOffer?: Readonly<{
    value: boolean
    onChange: (value: boolean) => void
  }>
  navigationBarBackButtonHidden?: boolean
  navigationBarHidden?: boolean
  navigationBarTitleDisplayMode?: SDKNavigationBarTitleDisplayMode
  navigationBarTitleWithText?: string
  navigationBarTitleWithTitleAndDisplayMode?: Readonly<{
    title: string
    displayMode: 'automatic' | 'inline' | 'large'
  }>
  navigationDocument?: string
  navigationLinkIndicatorVisibility?: SDKNavigationLinkIndicatorVisibility
  navigationSplitViewColumnWidthWithCGFloat?: number
  navigationSplitViewColumnWidthWithMinAndIdealAndMax?: Readonly<{
    min: number | null
    ideal: number
    max: number | null
  }>
  navigationSplitViewStyle?: SDKNavigationSplitViewStyle
  navigationSubtitle?: string
  navigationTitleWithBindingString?: Readonly<{
    value: string
    onChange: (value: string) => void
  }>
  navigationTitleWithText?: string
  navigationTransition?: SDKNavigationTransition
  navigationViewStyle?: SDKNavigationViewStyle
  offerCodeRedemption?: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  offset?: Readonly<{ x: number; y: number }>
  onAppear?: () => void
  onAppIntentExecution?: string
  onApplePayCouponCodeChange?: string
  onApplePayPaymentMethodChange?: string
  onApplePayShippingContactChange?: string
  onApplePayShippingMethodChange?: string
  onCameraCaptureEvent?: (value: {
    phase: 'began' | 'cancelled' | 'ended' | 'unknown'
  }) => void
  onCameraCaptureEventWithIsEnabledAndDefaultSoundDisabledAndPrimaryActionAndSecondaryAction?: Readonly<{
    isEnabled: boolean
    defaultSoundDisabled: boolean
    primaryAction: (value: {
      phase: 'began' | 'cancelled' | 'ended' | 'unknown'
      shouldPlaySound: boolean
    }) => void
    secondaryAction: (value: {
      phase: 'began' | 'cancelled' | 'ended' | 'unknown'
      shouldPlaySound: boolean
    }) => void
  }>
  onCameraCaptureEventWithIsEnabledAndPrimaryActionAndSecondaryAction?: Readonly<{
    isEnabled: boolean
    primaryAction: (value: { phase: 'began' | 'cancelled' | 'ended' | 'unknown' }) => void
    secondaryAction: (value: {
      phase: 'began' | 'cancelled' | 'ended' | 'unknown'
    }) => void
  }>
  onChange?: Readonly<{ value: string; onChange: (value: string) => void }>
  onContinueUserActivity?: Readonly<{
    activityType: string
    action: (value: {
      activityType: string
      isEligibleForHandoff: boolean
      isEligibleForPrediction: boolean
      isEligibleForPublicIndexing: boolean
      isEligibleForSearch: boolean
      needsSave: boolean
      supportsContinuationStreams: boolean
      targetContentIdentifier: string | null
      title: string | null
    }) => void
  }>
  onContinuousHover?: (
    value:
      | { case: 'active'; values: readonly [{ x: number; y: number }] }
      | { case: 'ended'; values: readonly [] }
  ) => void
  onDisappear?: () => void
  onDrag?: string
  onDragSessionUpdated?: (value: { location: { x: number; y: number } }) => void
  onDrop?: Readonly<{
    of: readonly string[]
    onDrop: (value: { type: string; data: string }) => void
  }>
  onDropSessionUpdated?: (value: {
    itemsCount: number
    suggestedOperations: { rawValue: number }
    size: { width: number; height: number }
    location: { x: number; y: number }
  }) => void
  onGeometryChangeWithSize?: (value: {
    oldValue: { width: number; height: number }
    newValue: { width: number; height: number }
  }) => void
  onHover?: (value: boolean) => void
  onInAppPurchaseCompletion?: (value: {
    value: {
      id: string
      type: { rawValue: string }
      displayName: string
      description: string
      displayPrice: string
      isFamilyShareable: boolean
    }
    result:
      | {
          case: 'success'
          value:
            | {
                case: 'success'
                values: readonly [
                  | { case: 'verified'; jwsRepresentation: string; error: null }
                  | { case: 'unverified'; jwsRepresentation: string; error: string },
                ]
              }
            | { case: 'userCancelled'; values: readonly [] }
            | { case: 'pending'; values: readonly [] }
            | { case: 'unknown'; values: readonly [] }
        }
      | { case: 'failure'; error: string }
  }) => void | Promise<void>
  onInAppPurchaseStart?: (value: {
    id: string
    type: { rawValue: string }
    displayName: string
    description: string
    displayPrice: string
    isFamilyShareable: boolean
  }) => void | Promise<void>
  onInteractiveResizeChange?: (value: boolean) => void
  onKeyPress?: Readonly<{
    result: 'handled' | 'ignored'
    onAction: (value: { characters: string; modifiers: { rawValue: number } }) => void
  }>
  onLongPressGesture?: () => void
  onMapCameraChange?: () => void
  onMapCameraChangeWithEventStruct?: (value: {
    camera: { distance: number; heading: number; pitch: number }
  }) => void
  onOpenURLWithPerform?: (value: string) => void
  onOpenURLWithPrefersInApp?: boolean
  onPencilDoubleTap?: (value: {
    hoverPose: {
      location: { x: number; y: number }
      anchor: { x: number; y: number }
      zDistance: number
      altitude: { radians: number }
      azimuth: { radians: number }
      roll: { radians: number }
    } | null
  }) => void
  onPencilSqueeze?: (
    value:
      | {
          case: 'active'
          values: readonly [
            {
              hoverPose: {
                location: { x: number; y: number }
                anchor: { x: number; y: number }
                zDistance: number
                altitude: { radians: number }
                azimuth: { radians: number }
                roll: { radians: number }
              } | null
            },
          ]
        }
      | {
          case: 'ended'
          values: readonly [
            {
              hoverPose: {
                location: { x: number; y: number }
                anchor: { x: number; y: number }
                zDistance: number
                altitude: { radians: number }
                azimuth: { radians: number }
                roll: { radians: number }
              } | null
            },
          ]
        }
      | { case: 'failed'; values: readonly [] }
  ) => void
  onPreferenceChangePreferredColorScheme?: (
    value: 'light' | 'dark' | 'unknown' | null
  ) => void
  onReceive?: Readonly<{ name: string; onAction: () => void }>
  onScrollGeometryChangeWithContainerSize?: (value: {
    oldValue: { width: number; height: number }
    newValue: { width: number; height: number }
  }) => void
  onScrollGeometryChangeWithContentOffset?: (value: {
    oldValue: { x: number; y: number }
    newValue: { x: number; y: number }
  }) => void
  onScrollGeometryChangeWithContentSize?: (value: {
    oldValue: { width: number; height: number }
    newValue: { width: number; height: number }
  }) => void
  onScrollPhaseChange?: (
    oldValue: 'idle' | 'tracking' | 'interacting' | 'decelerating' | 'animating',
    newValue: 'idle' | 'tracking' | 'interacting' | 'decelerating' | 'animating'
  ) => void
  onScrollTargetVisibilityChange?: (value: readonly string[]) => void
  onScrollVisibilityChange?: (value: boolean) => void
  onSubmit?: () => void
  onTapGestureWithPerform?: (value: { x: number; y: number }) => void
  onTapGestureWithPerformFromSwiftUICore?: () => void
  paddingWithSet?: SDKPaddingWithSet
  paletteSelectionEffect?: SDKPaletteSelectionEffect
  pasteDestination?: (value: readonly string[]) => void
  payLaterViewAction?: SDKPayLaterViewAction
  payLaterViewDisplayStyle?: SDKPayLaterViewDisplayStyle
  payWithApplePayButtonDisableCardArt?: boolean
  payWithApplePayButtonStyle?: SDKPayWithApplePayButtonStyle
  persistentSystemOverlays?: SDKPersistentSystemOverlays
  phaseAnimator?: Readonly<{
    effect: 'opacity' | 'scale' | 'blur'
    phases: readonly number[]
    duration: number
  }>
  photosPicker?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    onSelection: (url: string) => void
    onError: (message: string) => void
    onItemIdentifier?: (id: string) => void
  }>
  photosPickerAccessoryVisibility?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
  }>
  photosPickerDisabledCapabilities?: SDKPhotosPickerDisabledCapabilities
  photosPickerMetadataOptions?: SDKPhotosPickerMetadataOptions
  photosPickerSearchText?: string | null
  photosPickerStyle?: SDKPhotosPickerStyle
  photosReferenceImageViewer?: Readonly<{
    fileURL: Readonly<{ value: string | null; onChange: (value: string | null) => void }>
    onProcessingCompletion: (
      result: Readonly<{ success: string } | { failure: string }>
    ) => void
  }>
  photosSharedAlbumCreationSheet?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  }>
  photosSharedAlbumCustomizationSheet?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    albumIdentifier: string | null
  }>
  photosSharedAlbumPostingSheet?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    items: readonly string[]
  }>
  pickerStyle?: SDKPickerStyle
  position?: Readonly<{ x: number; y: number }>
  postToPhotosSharedAlbumSheet?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    items: readonly string[]
  }>
  preferencePreferredColorScheme?: SDKPreferencePreferredColorScheme | null
  preferredColorScheme?: SDKPreferredColorScheme | null
  preferredSubscriptionOffer?: string
  preferredSubscriptionPricingTerms?: number
  presentationBackground?: SDKPresentationBackground
  presentationBackgroundInteraction?: SDKPresentationBackgroundInteraction
  presentationCompactAdaptationWithHorizontalAdaptationAndVerticalAdaptation?: Readonly<{
    horizontalAdaptation: 'automatic' | 'none' | 'popover' | 'sheet' | 'fullScreenCover'
    verticalAdaptation: 'automatic' | 'none' | 'popover' | 'sheet' | 'fullScreenCover'
  }>
  presentationCompactAdaptationWithPresentationAdaptation?: SDKPresentationCompactAdaptationWithPresentationAdaptation
  presentationContentInteraction?: SDKPresentationContentInteraction
  presentationCornerRadius?: number | null
  presentationDetents?: readonly SDKPresentationDetents[]
  presentationDragIndicator?: SDKPresentationDragIndicator
  presentationPlacement?: SDKPresentationPlacement
  presentationSizing?: SDKPresentationSizing
  previewContext?: Readonly<{
    family:
      | 'systemSmall'
      | 'systemMedium'
      | 'systemLarge'
      | 'systemExtraLarge'
      | 'systemExtraLargePortrait'
      | 'accessoryCircular'
      | 'accessoryRectangular'
      | 'accessoryInline'
  }>
  previewDevice?: string | null
  previewDisplayName?: string | null
  previewInterfaceOrientation?: SDKPreviewInterfaceOrientation
  previewLayout?: SDKPreviewLayout
  privacySensitive?: boolean
  productDescription?: SDKProductDescription
  productIconBorder?: boolean
  productViewStyle?: SDKProductViewStyle
  progressViewStyle?: SDKProgressViewStyle
  projectionEffect?: Readonly<{
    transform: Readonly<{
      a: number
      b: number
      c: number
      d: number
      tx: number
      ty: number
    }>
  }>
  quickLookPreview?: Readonly<{
    value: string | null
    onChange: (value: string | null) => void
  }>
  realityViewCameraControls?: SDKRealityViewCameraControls
  realityViewLayoutBehavior?: SDKRealityViewLayoutBehavior
  redacted?: SDKRedacted
  refreshable?: () => void | Promise<void>
  refundRequestSheet?: Readonly<{
    transactionID: string
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  }>
  renameAction?: () => void
  reorderContainer?: string
  replaceDisabled?: boolean
  rotation3DEffect?: Readonly<{
    angle: Readonly<{ radians: number }>
    axis: Readonly<{ x: number; y: number; z: number }>
    anchor:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
    anchorZ: number
    perspective: number
  }>
  rotationEffect?: Readonly<{
    angle: 'zero'
    anchor:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
  }>
  safeAreaPaddingWithCGFloat?: number
  safeAreaPaddingWithSet?: SDKSafeAreaPaddingWithSet
  saturation?: number
  scaledToFill?: boolean
  scaledToFit?: boolean
  scaleEffectWithSAndAnchor?: Readonly<{
    s: number
    anchor:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
  }>
  scaleEffectWithXAndYAndAnchor?: Readonly<{
    x: number
    y: number
    anchor:
      | 'zero'
      | 'center'
      | 'leading'
      | 'trailing'
      | 'top'
      | 'bottom'
      | 'topLeading'
      | 'topTrailing'
      | 'bottomLeading'
      | 'bottomTrailing'
  }>
  scenePaddingWithPaddingAndEdges?: Readonly<{
    padding: 'minimum'
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
  }>
  scenePaddingWithSet?: SDKScenePaddingWithSet
  scrollBounceBehavior?: Readonly<{
    behavior: 'automatic' | 'always' | 'basedOnSize'
    axes: 'horizontal' | 'vertical'
  }>
  scrollClipDisabled?: boolean
  scrollContentBackground?: SDKScrollContentBackground
  scrollDisabled?: boolean
  scrollDismissesKeyboard?: SDKScrollDismissesKeyboard
  scrollEdgeEffectHidden?: Readonly<{
    hidden: boolean
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
  }>
  scrollEdgeEffectStyle?: Readonly<{
    style: 'automatic' | 'hard' | 'soft' | null
    edges: 'top' | 'leading' | 'bottom' | 'trailing' | 'all' | 'horizontal' | 'vertical'
  }>
  scrollIndicators?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden' | 'never'
    axes: 'horizontal' | 'vertical'
  }>
  scrollIndicatorsFlash?: boolean
  scrollPositionWithBindingPoint?: Readonly<{
    value: Readonly<{ x: number; y: number }> | null
    onChange: (value: Readonly<{ x: number; y: number }> | null) => void
  }>
  scrollPositionWithId?: Readonly<{
    value: string | null
    onChange: (value: string | null) => void
  }>
  scrollTargetBehavior?: SDKScrollTargetBehavior
  scrollTargetLayout?: boolean
  scrollTransition?: Readonly<{ kind: 'opacity' | 'scaleEffect'; value: number }>
  searchable?: Readonly<{ value: string; onChange: (value: string) => void }>
  searchCompletion?: string
  searchDictationBehavior?: SDKSearchDictationBehavior
  searchFocused?: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  searchPresentationToolbarBehavior?: SDKSearchPresentationToolbarBehavior
  searchSelection?: Readonly<{
    text: string
    value: readonly (readonly [start: number, end: number])[] | null
    onChange: (value: readonly (readonly [start: number, end: number])[] | null) => void
  }>
  searchSuggestions?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    placements: 'menu' | 'content'
  }>
  searchToolbarBehavior?: SDKSearchToolbarBehavior
  sectionIndexLabel?: string | null
  selectionDisabled?: boolean
  sensoryFeedback?: Readonly<{
    feedback:
      | 'success'
      | 'warning'
      | 'error'
      | 'selection'
      | 'increase'
      | 'decrease'
      | 'start'
      | 'stop'
      | 'alignment'
      | 'levelChange'
      | 'pathComplete'
      | 'impact'
    trigger: string
  }>
  shadow?: Readonly<{
    color:
      | 'accentColor'
      | 'red'
      | 'orange'
      | 'yellow'
      | 'green'
      | 'mint'
      | 'teal'
      | 'cyan'
      | 'blue'
      | 'indigo'
      | 'purple'
      | 'pink'
      | 'brown'
      | 'white'
      | 'gray'
      | 'black'
      | 'clear'
      | 'primary'
      | 'secondary'
    radius: number
    x: number
    y: number
  }>
  shortcutsLinkStyle?: SDKShortcutsLinkStyle
  signInWithAppleButtonStyle?: SDKSignInWithAppleButtonStyle
  simultaneousGesture?:
    | Readonly<{
        kind: 'drag'
        onEnded: (value: {
          location: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{ kind: 'longPress'; onEnded: (value: boolean) => void }>
    | Readonly<{
        kind: 'magnify'
        onEnded: (value: {
          magnification: number
          velocity: number
          startAnchor: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{
        kind: 'rotate'
        onEnded: (value: {
          rotation: { radians: number }
          velocity: { radians: number }
          startAnchor: { x: number; y: number }
          startLocation: { x: number; y: number }
        }) => void
      }>
    | Readonly<{
        kind: 'spatialTap'
        onEnded: (value: { location: { x: number; y: number } }) => void
      }>
    | Readonly<{ kind: 'tap'; onEnded: () => void }>
  siriTipViewStyle?: SDKSiriTipViewStyle
  sliderThumbVisibility?: SDKSliderThumbVisibility
  speechAdjustedPitch?: number
  speechAlwaysIncludesPunctuation?: boolean
  speechAnnouncementsQueued?: boolean
  speechSpellsOutCharacters?: boolean
  springLoadingBehavior?: SDKSpringLoadingBehavior
  statusBar?: boolean
  statusBarHidden?: boolean
  storeButton?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    buttonKinds:
      | 'restorePurchases'
      | 'cancellation'
      | 'redeemCode'
      | 'signIn'
      | 'policies'
  }>
  storeProductsTask?: Readonly<{
    ids: readonly string[]
    onAction: (
      value:
        | { case: 'loading'; values: readonly [] }
        | { case: 'failure'; values: readonly [string] }
        | {
            case: 'success'
            values: readonly [
              readonly {
                id: string
                type: { rawValue: string }
                displayName: string
                description: string
                displayPrice: string
                isFamilyShareable: boolean
              }[],
              readonly string[],
            ]
          }
        | { case: 'unknown'; values: readonly [] }
    ) => void | Promise<void>
  }>
  storeProductTask?: Readonly<{
    id: string
    onAction: (
      value:
        | { case: 'loading'; values: readonly [] }
        | { case: 'unavailable'; values: readonly [] }
        | { case: 'failure'; values: readonly [string] }
        | {
            case: 'success'
            values: readonly [
              {
                id: string
                type: { rawValue: string }
                displayName: string
                description: string
                displayPrice: string
                isFamilyShareable: boolean
              },
            ]
          }
        | { case: 'unknown'; values: readonly [] }
    ) => void | Promise<void>
  }>
  strikethrough?: Readonly<{
    isActive: boolean
    pattern: 'solid' | 'dot' | 'dash' | 'dashDot' | 'dashDotDot'
    color:
      | 'accentColor'
      | 'red'
      | 'orange'
      | 'yellow'
      | 'green'
      | 'mint'
      | 'teal'
      | 'cyan'
      | 'blue'
      | 'indigo'
      | 'purple'
      | 'pink'
      | 'brown'
      | 'white'
      | 'gray'
      | 'black'
      | 'clear'
      | 'primary'
      | 'secondary'
      | null
  }>
  submitLabel?: SDKSubmitLabel
  submitScope?: boolean
  subscriptionIntroductoryOffer?: Readonly<{
    applyOffer: boolean
    compactJWS: (value: {
      product: {
        id: string
        type: { rawValue: string }
        displayName: string
        description: string
        displayPrice: string
        isFamilyShareable: boolean
      }
      subscriptionInfo: { subscriptionGroupID: string }
    }) => string | Promise<string>
  }>
  subscriptionOfferViewButtonVisibility?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    buttonKinds: 'detailLink'
  }>
  subscriptionOfferViewDetailAction?: () => void
  subscriptionOfferViewStyle?: SDKSubscriptionOfferViewStyle
  subscriptionPromotionalOffer?: Readonly<{
    offer: string
    compactJWS: (value: {
      product: {
        id: string
        type: { rawValue: string }
        displayName: string
        description: string
        displayPrice: string
        isFamilyShareable: boolean
      }
      subscriptionInfo: { subscriptionGroupID: string }
      promotionalOffer: {
        id: string | null
        type: { rawValue: string }
        displayPrice: string
        periodCount: number
        paymentMode: { rawValue: string }
      }
    }) => string | Promise<string>
  }>
  subscriptionStatusTask?: Readonly<{
    groupID: string
    onAction: (
      value:
        | { case: 'loading'; values: readonly [] }
        | { case: 'failure'; values: readonly [string] }
        | {
            case: 'success'
            values: readonly [
              readonly {
                state: { rawValue: number }
                transaction:
                  | { case: 'verified'; jwsRepresentation: string; error: null }
                  | { case: 'unverified'; jwsRepresentation: string; error: string }
                renewalInfo:
                  | { case: 'verified'; jwsRepresentation: string; error: null }
                  | { case: 'unverified'; jwsRepresentation: string; error: string }
              }[],
            ]
          }
        | { case: 'unknown'; values: readonly [] }
    ) => void | Promise<void>
  }>
  subscriptionStoreButtonLabel?: SDKSubscriptionStoreButtonLabel
  subscriptionStoreControlBackground?: SDKSubscriptionStoreControlBackground
  subscriptionStoreControlStyle?: SDKSubscriptionStoreControlStyle
  subscriptionStoreOptionGroupStyle?: SDKSubscriptionStoreOptionGroupStyle
  subscriptionStorePickerItemBackground?: SDKSubscriptionStorePickerItemBackground
  subscriptionStorePolicyDestination?: Readonly<{
    url: string
    button: 'termsOfService' | 'privacyPolicy'
  }>
  subscriptionStorePolicyForegroundStyle?: SDKSubscriptionStorePolicyForegroundStyle
  subscriptionStoreSignInAction?: () => void
  swipeActionsContainer?: boolean
  symbolColorRenderingMode?: SDKSymbolColorRenderingMode | null
  symbolEffect?: SDKSymbolEffect
  symbolEffectsRemoved?: boolean
  symbolRenderingMode?: SDKSymbolRenderingMode | null
  symbolVariableValueMode?: SDKSymbolVariableValueMode | null
  symbolVariant?: SDKSymbolVariant
  tabBarMinimizeBehavior?: SDKTabBarMinimizeBehavior
  tableColumnHeaders?: SDKTableColumnHeaders
  tableStyle?: SDKTableStyle
  tabViewCustomization?: Readonly<{
    value: string | null
    onChange: (value: string) => void
  }>
  tabViewSearchActivation?: SDKTabViewSearchActivation
  tabViewStyle?: SDKTabViewStyle
  tag?: string
  task?: () => void | Promise<void>
  textCase?: SDKTextCase | null
  textContentType?: SDKTextContentType | null
  textEditorStyle?: SDKTextEditorStyle
  textFieldStyle?: SDKTextFieldStyle
  textInputAutocapitalization?: SDKTextInputAutocapitalization | null
  textInputBorderShape?: SDKTextInputBorderShape
  textInputFormattingControlVisibility?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    placement: 'contextMenu' | 'inputAssistant' | 'all' | 'default'
  }>
  textRenderer?: string
  textScale?: Readonly<{ scale: 'default' | 'secondary'; isEnabled: boolean }>
  textSelection?: SDKTextSelection
  textSelectionAffinity?: SDKTextSelectionAffinity
  tintWithOptionalColor?: SDKTintWithOptionalColor | null
  toggleStyle?: SDKToggleStyle
  toolbarBackground?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarBackgroundVisibility?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarColorScheme?: Readonly<{
    colorScheme: 'light' | 'dark' | null
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarMinimizationBehavior?: Readonly<{
    behavior: 'automatic' | 'onScrollDown' | 'onScrollUp' | 'never'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarMinimizationRestoration?: Readonly<{
    restoration: 'automatic' | 'atScrollEdge'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarMinimizationSafeAreaAdjustment?: Readonly<{
    adjustment: 'automatic' | 'enabled' | 'disabled'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarRole?: SDKToolbarRole
  toolbarTitleDisplayMode?: SDKToolbarTitleDisplayMode
  toolbarVisibility?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  toolbarWithRemoving?: SDKToolbarWithRemoving | null
  toolbarWithVisibilityAndBars?: Readonly<{
    visibility: 'automatic' | 'visible' | 'hidden'
    bars: 'automatic' | 'bottomBar' | 'navigationBar' | 'tabBar' | 'statusBar'
  }>
  tracking?: number
  transaction?: Readonly<{
    transform: Readonly<{
      isContinuous?: boolean
      scrollPositionUpdatePreservesVelocity?: boolean
      disablesAnimations?: boolean
      tracksVelocity?: boolean
    }>
  }>
  transactionTask?: string
  transformAnchorPreference?: (value: {
    origin: { x: number; y: number }
    size: { width: number; height: number }
  }) => void
  transformEffect?: Readonly<{
    transform: Readonly<{
      a: number
      b: number
      c: number
      d: number
      tx: number
      ty: number
    }>
  }>
  transformEnvironmentAccessibilityEnabled?: boolean
  transformEnvironmentAccessibilityPrefersCrossFadeTransitions?: boolean
  transformEnvironmentAllowsTightening?: boolean
  transformEnvironmentAppearsActive?: boolean
  transformEnvironmentAutocorrectionDisabled?: boolean
  transformEnvironmentContentTransitionAddsDrawingGroup?: boolean
  transformEnvironmentDefaultMinListRowHeight?: number
  transformEnvironmentDisplayScale?: number
  transformEnvironmentIsEnabled?: boolean
  transformEnvironmentIsFocusEffectEnabled?: boolean
  transformEnvironmentIsHoverEffectEnabled?: boolean
  transformEnvironmentIsLuminanceReduced?: boolean
  transformEnvironmentIsSceneCaptured?: boolean
  transformEnvironmentIsScrollEnabled?: boolean
  transformEnvironmentLineSpacing?: number
  transformEnvironmentMinimumScaleFactor?: number
  transformEnvironmentSystemPrefersReducedResourceUsage?: boolean
  transformPreferencePreferredColorScheme?: SDKTransformPreferencePreferredColorScheme | null
  transition?: SDKTransition
  translationPresentation?: Readonly<{
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
    text: string
  }>
  translationTask?: Readonly<{
    sourceText: string
    onResult: (
      value:
        | Readonly<{ sourceText: string; targetText: string; error: null }>
        | Readonly<{ sourceText: null; targetText: null; error: string }>
    ) => void
  }>
  truncationMode?: SDKTruncationMode
  typeSelectEquivalent?: string | null
  typesettingLanguage?: Readonly<{ language: 'automatic'; isEnabled: boolean }>
  underline?: Readonly<{
    isActive: boolean
    pattern: 'solid' | 'dot' | 'dash' | 'dashDot' | 'dashDotDot'
    color:
      | 'accentColor'
      | 'red'
      | 'orange'
      | 'yellow'
      | 'green'
      | 'mint'
      | 'teal'
      | 'cyan'
      | 'blue'
      | 'indigo'
      | 'purple'
      | 'pink'
      | 'brown'
      | 'white'
      | 'gray'
      | 'black'
      | 'clear'
      | 'primary'
      | 'secondary'
      | null
  }>
  unredacted?: boolean
  userActivity?: Readonly<{
    activityType: string
    isActive: boolean
    update: Readonly<{
      isEligibleForHandoff?: boolean
      isEligibleForPrediction?: boolean
      isEligibleForPublicIndexing?: boolean
      isEligibleForSearch?: boolean
      needsSave?: boolean
      supportsContinuationStreams?: boolean
      targetContentIdentifier?: string | null
      title?: string | null
    }>
  }>
  verifyIdentityWithWalletButtonStyle?: SDKVerifyIdentityWithWalletButtonStyle
  visualEffect?: Readonly<{ kind: 'opacity' | 'scaleEffect'; value: number }>
  webViewBackForwardNavigationGestures?: SDKWebViewBackForwardNavigationGestures
  webViewContentBackground?: SDKWebViewContentBackground
  webViewElementFullscreenBehavior?: SDKWebViewElementFullscreenBehavior
  webViewLinkPreviews?: SDKWebViewLinkPreviews
  webViewMagnificationGestures?: SDKWebViewMagnificationGestures
  webViewOnScrollGeometryChangeWithContainerSize?: (value: {
    oldValue: { width: number; height: number }
    newValue: { width: number; height: number }
  }) => void
  webViewOnScrollGeometryChangeWithContentOffset?: (value: {
    oldValue: { x: number; y: number }
    newValue: { x: number; y: number }
  }) => void
  webViewOnScrollGeometryChangeWithContentSize?: (value: {
    oldValue: { width: number; height: number }
    newValue: { width: number; height: number }
  }) => void
  webViewScrollPosition?: Readonly<{
    value: Readonly<{ x: number; y: number }> | null
    onChange: (value: Readonly<{ x: number; y: number }> | null) => void
  }>
  webViewTextSelection?: SDKWebViewTextSelection
  windowToolbarFullScreenVisibility?: SDKWindowToolbarFullScreenVisibility
  workoutPreview?: Readonly<{
    workout: string
    isPresented: Readonly<{ value: boolean; onChange: (value: boolean) => void }>
  }>
  writingDirection?: SDKWritingDirection
  writingToolsAffordanceVisibility?: SDKWritingToolsAffordanceVisibility
  writingToolsBehavior?: SDKWritingToolsBehavior
  zIndex?: number
}

// the React Native props a One Native control honors. a composed control renders inside its
// parent's SwiftUI tree and its own UIView is never displayed, so the rest of ViewProps would
// be accepted and then silently do nothing.
//
// accessibility travels into the SwiftUI content, so it means the same thing in both
// positions. `style` and `onLayout` describe the outer Yoga box, which only a standalone
// control has: composed, a control is measured by its parent instead.
export type OneNativeViewProps = Pick<
  ViewProps,
  | 'accessibilityLabel'
  | 'accessibilityHint'
  | 'accessibilityValue'
  | 'testID'
  | 'style'
  | 'onLayout'
> & {
  swiftStyle?: OneNativeStyle
}
export type PickerOption = Readonly<{ value: string; label: string }>
export type DialogAction = Readonly<{
  id: string
  label: string
  role?: Styles.ButtonRole
}>
export type MapMarker = Readonly<{
  id: string
  label: string
  latitude: number
  longitude: number
}>
export interface PickerProps extends OneNativeViewProps {
  selection: string
  onSelectionChange: (value: string) => void
  revision?: number
  label?: string
  disabled?: boolean
  options: readonly PickerOption[]
  pickerStyle?: Styles.PickerStyle
}
export interface DatePickerProps extends OneNativeViewProps {
  selection: Date
  onSelectionChange: (value: Date) => void
  revision?: number
  label?: string
  disabled?: boolean
  minimumDate?: Date
  maximumDate?: Date
  displayedComponents?: 'date' | 'hourAndMinute' | 'dateAndTime'
  datePickerStyle?: Styles.DatePickerStyle
}
export interface ColorPickerProps extends OneNativeViewProps {
  selection: string
  onSelectionChange: (value: string) => void
  revision?: number
  label?: string
  disabled?: boolean
  supportsOpacity?: boolean
}
export interface MultiDatePickerProps extends OneNativeViewProps {
  selection: readonly Date[]
  onSelectionChange: (value: readonly Date[]) => void
  revision?: number
  label?: string
  disabled?: boolean
  minimumDate?: Date
  maximumDate?: Date
}
export interface ToggleProps extends OneNativeViewProps {
  isOn: boolean | NativeState<boolean>
  onIsOnChange: (value: boolean) => void
  revision?: number
  label?: string
  disabled?: boolean
  systemImage?: SFSymbolName | ''
  toggleStyle?: Styles.ToggleStyle
}
export interface SliderProps extends OneNativeViewProps {
  value: number | NativeState<number>
  onValueChange: (value: number) => void
  revision?: number
  label?: string
  disabled?: boolean
  minimumValue?: number
  maximumValue?: number
  step?: number
  minimumValueLabel?: string
  maximumValueLabel?: string
  minimumValueImage?: string
  maximumValueImage?: string
}
export interface StepperProps extends OneNativeViewProps {
  value: number | NativeState<number>
  onValueChange: (value: number) => void
  revision?: number
  label?: string
  disabled?: boolean
  minimumValue?: number
  maximumValue?: number
  step?: number
}
export interface PasteButtonProps extends OneNativeViewProps {
  onPaste?: (values: readonly string[]) => void
  disabled?: boolean
}
export interface TextProps extends OneNativeViewProps {
  text?: string
}
export interface LabelProps extends OneNativeViewProps {
  label?: string
  disabled?: boolean
  systemImage?: SFSymbolName | ''
}
export interface ProgressViewProps extends OneNativeViewProps {
  label?: string
  disabled?: boolean
  value?: number
  total?: number
  progressViewStyle?: Styles.ProgressViewStyle
}
export interface GaugeProps extends OneNativeViewProps {
  label?: string
  disabled?: boolean
  value?: number
  minimumValue?: number
  maximumValue?: number
  currentValueLabel?: string
  minimumValueLabel?: string
  maximumValueLabel?: string
  gaugeStyle?: Styles.GaugeStyle
}
export interface ImageProps extends OneNativeViewProps {
  systemName?: SFSymbolName | ''
  uri?: string
  renderingMode?: 'original' | 'template'
  symbolRenderingMode?: Styles.SymbolRenderingMode | ''
  symbolVariant?: Styles.SymbolVariants | ''
  imageScale?: Styles.ImageScale | ''
  variableValue?: number
  colorRole?: IconColorRole | ''
  resizable?: boolean
}
export interface ShareLinkProps extends OneNativeViewProps {
  label?: string
  disabled?: boolean
  systemImage?: SFSymbolName | ''
  item?: string
  itemType?: 'text' | 'url'
  subject?: string
  message?: string
}
export interface ContentUnavailableViewProps extends OneNativeViewProps {
  onAction?: (id: string) => void
  title?: string
  systemImage?: SFSymbolName | ''
  description?: string
  actions: readonly DialogAction[]
}
export interface CircleProps extends OneNativeViewProps {
  fill?: ColorValue
  strokeBorder?: ColorValue
  lineWidth?: number
}
export interface CapsuleProps extends OneNativeViewProps {
  fill?: ColorValue
  strokeBorder?: ColorValue
  lineWidth?: number
}
export interface RectangleProps extends OneNativeViewProps {
  fill?: ColorValue
  strokeBorder?: ColorValue
  lineWidth?: number
}
export interface RoundedRectangleProps extends OneNativeViewProps {
  fill?: ColorValue
  strokeBorder?: ColorValue
  lineWidth?: number
  cornerRadius?: number
}
export interface EllipseProps extends OneNativeViewProps {
  fill?: ColorValue
  strokeBorder?: ColorValue
  lineWidth?: number
}
export interface UnevenRoundedRectangleProps extends OneNativeViewProps {
  fill?: ColorValue
  strokeBorder?: ColorValue
  lineWidth?: number
  topLeadingRadius?: number
  bottomLeadingRadius?: number
  bottomTrailingRadius?: number
  topTrailingRadius?: number
}
export interface ConcentricRectangleProps extends OneNativeViewProps {
  fill?: ColorValue
}
export interface LinearGradientProps extends OneNativeViewProps {
  colors: readonly string[]
  startPoint?: Readonly<{ x: number; y: number }>
  endPoint?: Readonly<{ x: number; y: number }>
}
export interface RadialGradientProps extends OneNativeViewProps {
  colors: readonly string[]
  center?: Readonly<{ x: number; y: number }>
  startRadius?: number
  endRadius: number
}
export interface EllipticalGradientProps extends OneNativeViewProps {
  colors: readonly string[]
  center?: Readonly<{ x: number; y: number }>
  startRadiusFraction?: number
  endRadiusFraction?: number
}
export interface AngularGradientProps extends OneNativeViewProps {
  colors: readonly string[]
  center?: Readonly<{ x: number; y: number }>
  angle?: Readonly<{ radians: number }>
}
export interface MeshGradientProps extends OneNativeViewProps {
  meshWidth: number
  meshHeight: number
  points: readonly Readonly<{ x: number; y: number }>[]
  colors: readonly string[]
  background?: string
  smoothsColors?: boolean
  colorSpace?: 'device' | 'perceptual'
}
export interface VideoPlayerProps extends OneNativeViewProps {
  onPlaybackStatus?: (state: string, positionMs: number, durationMs: number) => void
  url?: string
  autoplay?: boolean
  command?: 'play' | 'pause' | 'seek' | ''
  commandRevision?: number
  seekToMs?: number
}
export interface LivePhotoViewProps extends OneNativeViewProps {
  onPlaybackState?: (state: string, errorCode: string) => void
  assetIdentifier: string
  autoplay?: boolean
  command?: 'play' | 'stop' | ''
  commandRevision?: number
}
export interface PhotosPickerProps extends OneNativeViewProps {
  onPick?: (url: string, index: number, count: number) => void
  onPickItemIdentifier?: (itemIdentifier: string, index: number, count: number) => void
  onPickError?: (message: string) => void
  label?: string
  disabled?: boolean
  systemImage?: SFSymbolName | ''
  maxSelectionCount?: number
  selectionBehavior?: Styles.PhotosPickerSelectionBehavior
  filter?:
    | 'any'
    | 'images'
    | 'videos'
    | 'livePhotos'
    | 'screenshots'
    | 'screenRecordings'
    | 'slomoVideos'
    | 'timelapseVideos'
    | 'cinematicVideos'
    | 'depthEffectPhotos'
    | 'bursts'
    | 'panoramas'
  preferredItemEncoding?: Styles.EncodingDisambiguationPolicy
}
export interface WebViewProps extends OneNativeViewProps {
  onNavigate?: (url: string) => void
  onTitleChange?: (title: string) => void
  onLoadingChange?: (loading: boolean, progress: number) => void
  onLoadStart?: () => void
  onLoadEnd?: () => void
  onError?: (message: string) => void
  onHttpError?: (statusCode: number) => void
  onMessage?: (data: string) => void
  onHistoryChange?: (canGoBack: boolean, canGoForward: boolean) => void
  onProcessTerminate?: () => void
  url?: string
  html?: string
  script?: string
  command?: 'reload' | 'goBack' | 'goForward' | 'evaluate' | 'postMessage' | ''
  commandRevision?: number
  commandValue?: string
  limitsNavigationsToAppBoundDomains?: boolean
  inlineMedia?: boolean
  inspectable?: boolean
  bounces?: boolean
  backForwardNavigationGestures?: Styles.BackForwardNavigationGesturesBehavior | ''
  magnificationGestures?: Styles.MagnificationGesturesBehavior | ''
  linkPreviews?: Styles.LinkPreviewBehavior | ''
  elementFullscreen?: Styles.ElementFullscreenBehavior | ''
  contentBackground?: Styles.Visibility | ''
}
export type SignInWithAppleButtonCompletion =
  | Readonly<{
      type: 'success'
      user: string
      email: string
      givenName: string
      familyName: string
      identityToken: string
      authorizationCode: string
    }>
  | Readonly<{ type: 'failed'; message: string }>
  | Readonly<{ type: 'cancelled' }>
export interface SignInWithAppleButtonProps extends OneNativeViewProps {
  onCompletion?: (completion: SignInWithAppleButtonCompletion) => void
  requestedScopes?: readonly ('fullName' | 'email')[]
  nonce?: string
  label?: 'signIn' | 'continue' | 'signUp'
}
export interface PayWithApplePayButtonProps extends OneNativeViewProps {
  onPress?: () => void
  label?: Styles.PayWithApplePayButtonLabel
  payWithApplePayButtonStyle?: Styles.PayWithApplePayButtonStyle
  disabled?: boolean
}
export interface AddPassToWalletButtonProps extends OneNativeViewProps {
  onPress?: () => void
  addPassToWalletButtonStyle?: Styles.AddPassToWalletButtonStyle
  disabled?: boolean
}
export interface MapProps extends OneNativeViewProps {
  onRegionChange?: (latitude: number, longitude: number, distance: number) => void
  latitude?: number
  longitude?: number
  distance?: number
  markers: readonly MapMarker[]
}
export interface MapCompassProps extends OneNativeViewProps {}
export interface MapPitchToggleProps extends OneNativeViewProps {}
export interface MapUserLocationButtonProps extends OneNativeViewProps {}
export interface TextFieldProps extends OneNativeViewProps {
  text: string | NativeState<string>
  onTextChange: (value: string) => void
  revision?: number
  focused?: boolean
  onFocusChange?: (focused: boolean) => void
  focusRevision?: number
  onSubmit?: () => void
  label?: string
  disabled?: boolean
  prompt?: string
  textFieldStyle?: Styles.TextFieldStyle
  submitLabel?: Styles.SubmitLabel | ''
  textInputAutocapitalization?: Styles.TextInputAutocapitalization | ''
  autocorrectionDisabled?: boolean
  keyboardType?: KeyboardType | ''
  textContentType?: TextContentType | ''
  axis?: Styles.Axis
}
export interface SecureFieldProps extends OneNativeViewProps {
  text: string | NativeState<string>
  onTextChange: (value: string) => void
  revision?: number
  focused?: boolean
  onFocusChange?: (focused: boolean) => void
  focusRevision?: number
  onSubmit?: () => void
  label?: string
  disabled?: boolean
  prompt?: string
  textFieldStyle?: Styles.TextFieldStyle
  submitLabel?: Styles.SubmitLabel | ''
  textInputAutocapitalization?: Styles.TextInputAutocapitalization | ''
  autocorrectionDisabled?: boolean
  keyboardType?: KeyboardType | ''
  textContentType?: TextContentType | ''
}
export interface TextEditorProps extends OneNativeViewProps {
  text: string | NativeState<string>
  onTextChange: (value: string) => void
  revision?: number
  focused?: boolean
  onFocusChange?: (focused: boolean) => void
  focusRevision?: number
  disabled?: boolean
  textInputAutocapitalization?: Styles.TextInputAutocapitalization | ''
  autocorrectionDisabled?: boolean
  keyboardType?: KeyboardType | ''
  textContentType?: TextContentType | ''
}
export interface AlertProps extends OneNativeViewProps {
  isPresented: boolean
  onIsPresentedChange: (value: boolean) => void
  revision?: number
  onAction?: (id: string, presenting: string) => void
  title?: string
  message?: string
  presenting?: string
  actions: readonly DialogAction[]
}
export interface ConfirmationDialogProps extends OneNativeViewProps {
  isPresented: boolean
  onIsPresentedChange: (value: boolean) => void
  revision?: number
  onAction?: (id: string, presenting: string) => void
  title?: string
  message?: string
  presenting?: string
  actions: readonly DialogAction[]
  titleVisibility?: Styles.Visibility
}
export interface QuickLookProps extends OneNativeViewProps {
  isPresented: boolean
  onIsPresentedChange: (value: boolean) => void
  revision?: number
  url?: string
}
export type FileImporterCompletion =
  | Readonly<{ type: 'success'; url: string; index: number; count: number }>
  | Readonly<{ type: 'failed'; message: string }>
  | Readonly<{ type: 'cancelled' }>
export interface FileImporterProps extends OneNativeViewProps {
  isPresented: boolean
  onIsPresentedChange: (value: boolean) => void
  revision?: number
  onCompletion?: (completion: FileImporterCompletion) => void
  allowedContentTypes?: readonly string[]
  allowsMultipleSelection?: boolean
}
export interface ChartProps extends OneNativeViewProps {
  data: readonly ChartDataPoint[]
  type?: ChartType
  showGrid?: boolean
  animate?: boolean
  showLegend?: boolean
  referenceLines?: readonly ChartDataPoint[]
  lineStyle?: LineChartStyle
  pointStyle?: PointChartStyle
  areaStyle?: AreaChartStyle
  barStyle?: BarChartStyle
  pieStyle?: PieChartStyle
  rectangleStyle?: RectangleChartStyle
  ruleStyle?: RuleChartStyle
}
export interface AsyncImageProps extends OneNativeViewProps {
  url: string
  scale?: number
}
export interface EditButtonProps extends OneNativeViewProps {}
export interface EmptyViewProps extends OneNativeViewProps {}
export interface LocationButtonProps extends OneNativeViewProps {
  onAction?: () => void
  title?:
    | 'currentLocation'
    | 'sendCurrentLocation'
    | 'sendMyCurrentLocation'
    | 'shareCurrentLocation'
    | 'shareMyCurrentLocation'
    | ''
}
export interface ProductViewProps extends OneNativeViewProps {
  id: string
  prefersPromotionalIcon?: boolean
}
export interface RenameButtonProps extends OneNativeViewProps {}
export interface ShortcutsLinkProps extends OneNativeViewProps {
  onAction?: () => void
}
export interface StoreViewProps extends OneNativeViewProps {
  ids: readonly string[]
  prefersPromotionalIcon?: boolean
}
export interface SubscriptionStoreViewProps extends OneNativeViewProps {
  groupID?: string
  visibleRelationships?: 'current' | 'downgrade' | 'crossgrade' | 'upgrade' | 'all'
  productIDs?: readonly string[]
}
