luxlabs header browser preview


@class NSDictionary, _UIDictationPrivacySheetController, UIDictationConnection, UIDictationConnectionPreferences, UIWindow, NSMutableArray, NSString, UIDictationInputModeOptions, NSTimer, NSArray, NSMutableDictionary, _UIVoiceCommandButtonTapGestureRecognizer, AFAnalyticsTurnBasedInstrumentationContext, RTIDocumentState, _UIDictationTelephonyMonitor, CADisplayLink, UIKeyboardInputMode, _UITapTapHoldGestureRecognizer, UIDictationTipController, UIDictationStreamingOperations, NSNumber, UIDictationSerializableResults;

@interface UIDictationController : NSObject <UIDictationConnectionDelegate, UIDictationConnectionTokenFilterProtocol, UIAdaptivePresentationControllerDelegate, _UIDictationPrivacySheetControllerDelegate, VTUIDictationDataSharingOptInPresentationDelegate, _UITextInputUserInteractionDelegate, _UITouchPhaseChangeDelegate> {
    UIDictationConnection *_dictationConnection;
    UIDictationConnectionPreferences *_preferences;
    NSTimer *_recordingLimitTimer;
    BOOL _connectionWasAlreadyAliveForStatisticsLogging;
    UIDictationStreamingOperations *_streamingOperations;
    NSString *_language;
    BOOL _recievingResults;
    BOOL _streamingAnimationActive;
    double _lastAnimationUpdateTimeStamp;
    id /* block */ _finalResultsOperation;
    CADisplayLink *_streamingAnimationDisplayLink;
    BOOL cancelledByWaitingForLocalResults;
    long long _updatingDocument;
    long long _ignoreRTIChanges;
    BOOL _deferredCancellationRequested;
    BOOL _isOfflineMetricsSessionActive;
    BOOL _didUseOfflineDictation;
    long long _lastOfflineDictationMetricEvent;
    _UIDictationTelephonyMonitor *_monitor;
    NSString *_prefixTextForStart;
    NSString *_selectionTextForStart;
    NSString *_postfixTextForStart;
    BOOL _hasDictated;
    NSDictionary *_selectedAttributesForDictation;
    id /* block */ _privacySheetDismissalHandler;
    int _dictationInputModeNotifierToken;
    long long _currentShortcutType;
    _UITapTapHoldGestureRecognizer *_hardwareShortcutRecognizer;
    _UIVoiceCommandButtonTapGestureRecognizer *_hardwareVoiceCommandKeyRecognizer;
    BOOL _prevForceDisplayOverridePlaceholder;
    struct _NSRange { unsigned long long location; unsigned long long length; } _relativeRangeBefore;
    NSString *_selectedTextAtStart;
    BOOL _dictationInputModeSwitchStarted;
    long long _lastKeyboardMetricEvent;
    BOOL _shouldAttemptToShowTips;
}

@property (nonatomic, getter=isSendButtonPressedDuringDictation) BOOL sendButtonPressedDuringDictation;
@property (nonatomic) BOOL hasInsertedAtLeastOneSerializedDictationResult;
@property (nonatomic) BOOL restoreStagedDictationOnIdle;
@property (retain, nonatomic) NSTimer *idleTimerResetTimer;
@property (nonatomic) struct _NSRange { unsigned long long location; unsigned long long length; } preCommandExecutionPositionRange;
@property (retain, nonatomic) UIDictationSerializableResults *candidateDictationSerializableResults;
@property (retain, nonatomic) NSMutableDictionary *cachedDisplayLowStorageNotification;
@property (retain, nonatomic) RTIDocumentState *visibleRTIDocumentStateAtStart;
@property (retain, nonatomic) RTIDocumentState *visibleRTIDocumentStateAtResultCandidate;
@property (retain, nonatomic) NSString *visibleContextBeforeInputAtCommandExecution;
@property (nonatomic) BOOL isPerformingDictationUndoCommand;
@property (nonatomic) long long numberOfUndoCheckpoints;
@property (nonatomic) BOOL hasSelectedTextRange;
@property (retain, nonatomic) NSNumber *currentLanguageVerbFirstCommandLanguageStatusCached;
@property (retain, nonatomic) NSArray *lastSuppressedCommandPartialTokens;
@property (retain, nonatomic) AFAnalyticsTurnBasedInstrumentationContext *enablementInstrumentationContext;
@property (nonatomic) BOOL enablementLoggingIsDictationEnabled;
@property (nonatomic) BOOL enablementLoggingIsLearnMoreButtonClicked;
@property (nonatomic) BOOL pauseUpdatingHelperMessage;
@property (retain, nonatomic) _UIDictationPrivacySheetController *dictationPrivacySheetController;
@property (nonatomic) BOOL didToggleSoftwareKeyboardVisibleForDictation;
@property (retain, nonatomic) UIDictationInputModeOptions *inputModeOptions;
@property (nonatomic) BOOL wantsAvailabilityMonitoringWhenAppActive;
@property (copy) NSString *smartLanguageSelectionOverrideLanguage;
@property (copy, nonatomic) NSString *detectedLanguage;
@property (retain, nonatomic) NSArray *dictationLanguages;
@property (copy, nonatomic) NSString *initialDictationLanguage;
@property (copy, nonatomic) NSString *fallbackDictationLanguage;
@property (nonatomic) unsigned long long dictationSourceType;
@property (copy, nonatomic) NSString *currentKeyboardPrimaryLanguage;
@property (nonatomic) BOOL selectionEndWasInitiallyAtParagraphBoundaryForAsyncDelegate;
@property (nonatomic) BOOL selectionStartWasInitiallyAtParagraphBoundaryForAsyncDelegate;
@property (nonatomic) unsigned short initialPreviousCharacterForAsyncDelegate;
@property (nonatomic) unsigned short initialCharacterAfterSelectionForAsyncDelegate;
@property (nonatomic) unsigned long long stateHandler;
@property (nonatomic) BOOL localSpeechRecognitionForced;
@property (nonatomic) BOOL secureOfflineOnlySpeechRecognition;
@property (copy, nonatomic) NSString *modelInfo;
@property (nonatomic) BOOL ignoreFinalizePhrases;
@property (nonatomic) BOOL shouldResumeDictation;
@property (nonatomic) BOOL skipAutomaticResumeDictation;
@property (nonatomic) BOOL ignoreIdleDetectionCallback;
@property (nonatomic) BOOL canUndoOrRedo;
@property (nonatomic, getter=isDetectingUtterances) BOOL detectingUtterances;
@property (nonatomic, getter=isFinalizingRecognizedUtterance) BOOL finalizingRecognizedUtterance;
@property (nonatomic) BOOL hasCheckedForLeadingSpaceOnce;
@property (nonatomic) unsigned short previousCharacter;
@property (nonatomic) BOOL selectionStartIsStartOfParagraph;
@property (retain, nonatomic) AFAnalyticsTurnBasedInstrumentationContext *currentInstrumentationContext;
@property (nonatomic) BOOL suppressDelegateTextInputDidChangeNotifications;
@property (nonatomic) BOOL shouldDeleteWordOnBackspaceTap;
@property (nonatomic) struct _NSRange { unsigned long long location; unsigned long long length; } startRangeOfCurrentHypothesis;
@property (nonatomic) BOOL shouldBreakUndoCoaleasingOnce;
@property (retain, nonatomic) UIDictationTipController *dictationTipController;
@property (copy, nonatomic) NSString *activationIdentifier;
@property (retain, nonatomic) NSMutableArray *pendingEdits;
@property (nonatomic) BOOL performingStreamingEditingOperation;
@property (copy, nonatomic) NSString *previousHypothesis;
@property (copy, nonatomic) NSString *lastHypothesis;
@property (copy, nonatomic) NSString *targetHypothesis;
@property (nonatomic) BOOL discardNextHypothesis;
@property (nonatomic) struct _NSRange { unsigned long long location; unsigned long long length; } insertionRange;
@property (nonatomic) BOOL hasPreheated;
@property (retain, nonatomic) UIWindow *dictationPresenterWindow;
@property (nonatomic) unsigned long long reasonType;
@property (copy, nonatomic) NSString *lastRecognitionText;
@property (copy, nonatomic) id lastCorrectionIdentifier;
@property (copy, nonatomic) NSString *interactionIdentifier;
@property (copy, nonatomic) NSString *lastMessageKeyboardLanguage;
@property (readonly, retain, nonatomic) NSNumber *dictationRequestOrigin;
@property (nonatomic) BOOL logAppEnterBackground;
@property (nonatomic) BOOL modelessUsedAtLeastOnce;
@property (copy, nonatomic) NSString *_inputDelegateClassName;
@property (nonatomic) BOOL _shouldUseDictationSearchFieldBehavior;
@property (nonatomic) BOOL shouldSuppressSoftwareKeyboard;
@property (nonatomic) BOOL resigningFirstResponder;
@property (retain, nonatomic) UIKeyboardInputMode *currentInputModeForDictation;
@property (retain, nonatomic) UIKeyboardInputMode *keyboardInputModeToReturn;
@property (nonatomic) BOOL shouldStayInDictationInputMode;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (int)viewMode;
+ (BOOL)isListening;
+ (BOOL)canUndoOrRedo;
+ (id)sharedInstance;
+ (id)UIDictationStartStopReasonTypeDescription:(unsigned long long)a0;
+ (id)serializedDictationPhrases:(id)a0;
+ (BOOL)starkSceneExists;
+ (BOOL)isRunningInTypeAndTalkMode;
+ (BOOL)checkTraitsSupportDictation:(id)a0;
+ (void)poppedLastStreamingOperation;
+ (BOOL)_shouldPerformPhrasesFinalizationIgnoringRTIChangesWithUserInteraction:(long long)a0;
+ (void)keyboardDidUpdateOnScreenStatus;
+ (void)remoteMicrophoneCapabilityChanged;
+ (void)instrumentationDictationAlternativesViewedWithInstrumentationContext:(id)a0 alternatives:(id)a1 dictationLanguage:(id)a2;
+ (BOOL)canPerformDictation;
+ (BOOL)shouldForwardInInputSystemUI;
+ (id)_dictationLog;
+ (double)serverManualEndpointingThreshold;
+ (id)activeSLSDictationLanguages;
+ (BOOL)isInputDelegateSafariAddressBar;
+ (BOOL)remoteCanDictateCurrentInputMode;
+ (BOOL)isDictationSearchBarButtonVisible;
+ (BOOL)supportsSendVoiceCommand;
+ (id)whitelistedDictationDictionaryFromMetadata:(id)a0;
+ (BOOL)dictationInfoIsOnScreen;
+ (BOOL)_isDictationAllowedWithUserDefaults:(id)a0;
+ (unsigned long long)commandIdentifierWithStringIdentifier:(id)a0;
+ (int)UIDictationStartStopReasonToInstrumentationInvocationSourceType:(unsigned long long)a0;
+ (void)logCorrectionStatisticsForDelegate:(id)a0 reason:(unsigned long long)a1;
+ (BOOL)takesPressesChanged:(id)a0 forTextView:(id)a1;
+ (id)textRelatedMetadataKeys;
+ (void)viewServiceWillResignActive;
+ (id)activeConnection;
+ (void)applicationWillResignActive;
+ (id)convertEditValuesToHashByPosition:(id)a0 dictationResultEditType:(id)a1;
+ (unsigned long long)specificReasonTypeMicButtonOnKeyboardWithInputSwitcher;
+ (id)UIDictationInstrumentaionLocalIdentifierWithLocalString:(id)a0;
+ (void)applicationDidBecomeActive;
+ (void)onDidBecomeActive;
+ (id)removeTextIfNeeded:(id)a0 metadata:(id)a1;
+ (BOOL)dictationIsFunctional;
+ (int)mapDictationCommandIdentifierToUEIcommandIdentifier:(unsigned long long)a0;
+ (unsigned long long)reasonType:(id)a0;
+ (int)UIDictationStartStopReasonToInstrumentationDictationEndPointType:(unsigned long long)a0;
+ (void)keyboardDidShow;
+ (id)streamingHypothesisForPhrases:(id)a0;
+ (id)serializedInterpretationFromTokens:(id)a0 transform:(struct __CFString { } *)a1;
+ (BOOL)shouldRemoveTextEntries:(id)a0;
+ (id)removeTextIfNeeded:(id)a0;
+ (unsigned long long)specificReasonTypeMicButtonOnKeyboard;
+ (BOOL)isRunning;
+ (void)siriPreferencesChanged;
+ (BOOL)isTextViewOnStarkScreen:(id)a0;
+ (BOOL)canShareDictationData;
+ (BOOL)takesPressesEnded:(id)a0 forTextView:(id)a1;
+ (id)stripNonPunctuationEditValues:(id)a0;
+ (BOOL)usingServerManualEndpointingThreshold;
+ (id)bestInterpretationForDictationResult:(id)a0;
+ (id)arrayWithTextEntriesRemoved:(id)a0;
+ (BOOL)fetchCurrentInputModeSupportsDictation;
+ (void)performOperations:(id /* block */)a0 keyboardShifted:(BOOL)a1;
+ (BOOL)shouldInsertText:(id)a0 inInputDelegate:(id)a1;
+ (BOOL)canHandleCommandIdentifier:(unsigned long long)a0;
+ (BOOL)isEventFromMessagesSendButton:(id)a0 inspectResponderChain:(BOOL)a1;
+ (id)mergePunctuationInsertAndDeleteIntoSubstituteTypeForSameStartEnd:(id)a0 deleteEditValues:(id)a1;
+ (id)interpretation:(id)a0 forPhraseIndex:(unsigned long long)a1 isShiftLocked:(BOOL)a2 autocapitalizationType:(long long)a3 useServerCapitalization:(BOOL)a4;
+ (id)slsDictationLanguages;
+ (id)serializedInterpretationFromTokens:(id)a0 transform:(struct __CFString { } *)a1 autocapitalization:(long long)a2 capitalization:(unsigned long long)a3;
+ (id)firstParameterTextWithParameters:(id)a0;
+ (id)stringForViewMode:(int)a0;
+ (id)secondParameterTextWithParameters:(id)a0;
+ (id)UIDictationLanguageSourceType:(unsigned long long)a0;
+ (void)instrumentationDictationAlternativeSelectedWithInstrumentationContext:(id)a0 originalText:(id)a1 replacementText:(id)a2 replacementIndex:(unsigned long long)a3 alternativesAvailableCount:(unsigned long long)a4 dictationLanguage:(id)a5;
+ (id)activeInstance;
+ (BOOL)takesPressesBegan:(id)a0 forTextView:(id)a1;
+ (void)updateLandingView;
+ (id)whitelistedDictationMetadataKeys;
+ (BOOL)shouldHideSelectionUIForTextView:(id)a0;
+ (BOOL)shouldHideCursorForTextView:(id)a0;
+ (void)inputSystemSessionWillEndForReason:(long long)a0;
+ (void)viewServiceDidBecomeActive;
+ (BOOL)shouldDeleteBackwardInInputDelegate:(id)a0;
+ (id)stringForState:(int)a0;
+ (BOOL)shouldRemoveTextEntries;
+ (void)onWillResignActive;
+ (BOOL)_isLowStorageForOnDeviceDictationAsset;
+ (BOOL)supportsUndoCommandForCurrentDictationRequest;
+ (BOOL)shouldPreferOnlineRecognition;
+ (id)dictionaryWithTextEntriesRemoved:(id)a0;
+ (void)logDictationString:(id)a0;
+ (id)serializedInterpretationFromTokens:(id)a0 transform:(struct __CFString { } *)a1 capitalization:(unsigned long long)a2;
+ (void)applicationDidEnterBackgroundNotification;
+ (id)whitelistedDictationDictionariesFromMetadataDictionaries:(id)a0;
+ (BOOL)_applicationIsActive;
+ (id)logAutoPunctuationEdit:(id)a0 deletionValues:(id)a1 substitutionValues:(id)a2 withContext:(id)a3;
+ (void)keyboardWillChangeFromDelegate:(id)a0 toDelegate:(id)a1 shouldPause:(BOOL)a2;
+ (void)didBeginEditingInTextView:(id)a0;
+ (BOOL)_checkTraitsSupportDictation:(id)a0;
+ (BOOL)supportsSiriDictationVoiceCommands;
+ (BOOL)shouldForwardEventsToInputSystemUI;
+ (BOOL)shouldPreferOnDeviceRecognition;

- (BOOL)_shouldDeleteBackwardInInputDelegate:(id)a0;
- (void)dictationConnectionWillStartRecording:(id)a0;
- (id)_documentStateForCommandApplicability;
- (void)_beginOfflineMetricsSession;
- (void)keyboardDidHide:(id)a0;
- (id)_currentLanguageForOfflineDictationMetrics;
- (void)resumeSpeechRecognitionWithPrefixText:(id)a0 postfixText:(id)a1 selectedText:(id)a2;
- (struct _NSRange { unsigned long long x0; unsigned long long x1; })_getRangeOfString:(id)a0 inDocumentText:(id)a1;
- (void)dictationConnection:(id)a0 updateOptions:(id)a1;
- (BOOL)shouldUseDictationSearchFieldBehavior;
- (id)language;
- (void)prepareDoubleTapShortcutGesture:(id)a0;
- (void)instrumentationDictationTranscriptionMetadataEmitInstrumentationWithDictationResult:(id)a0;
- (void)_displayLinkFired:(id)a0;
- (BOOL)didRecognizeCommandWithIdentifier:(id)a0 strings:(id)a1 parameters:(id)a2 voiceCommandUUID:(id)a3;
- (BOOL)useAutomaticEndpointing;
- (id)init;
- (BOOL)userInteractionShouldDismissDictationTip:(long long)a0;
- (BOOL)_didRecognizeCommandWithIdentifier:(id)a0 strings:(id)a1 parameters:(id)a2 voiceCommandUUID:(id)a3;
- (void)postNotificationName:(id)a0 userInfo:(id)a1;
- (void)optOutButtonPressedForPresenter:(id)a0;
- (void)handleDictationShouldPause:(BOOL)a0 withNewDelagate:(BOOL)a1;
- (void)stopIdleTimerResetTimer;
- (void)dealloc;
- (void)_deleteBackwardIntoText;
- (void)handleHardwareKeyboardGesture;
- (void)switchToDictationInputModeWithTouch:(id)a0 withKeyboardInputMode:(id)a1 options:(id)a2;
- (void)setAppState:(int)a0;
- (void)beginUserInteraction:(long long)a0;
- (void)dictationConnectionDidCancelRecording:(id)a0;
- (void)_dictationDidRecieveDidFinishDictationNotification:(id)a0;
- (BOOL)remoteHasMicrophone;
- (id)dictationUIState;
- (void)dictationConnection:(id)a0 finalizePhrases:(id)a1 languageModel:(id)a2 correctionIdentifier:(id)a3 secureInput:(BOOL)a4 finalResult:(BOOL)a5;
- (void)completeStartConnection;
- (id)streamingOperations;
- (void)_clearExistingText;
- (void)pauseSpeechRecognition;
- (id)connectionForStatisticsLogging;
- (void)_startStreamingAnimations;
- (void)_presentAlertForDictationInputModeOfType:(long long)a0 completionHandler:(id /* block */)a1;
- (void)stopDictationIgnoreFinalizePhrases:(BOOL)a0;
- (void)endSmartLanguageSelectionOverride;
- (void)clearSelectedTextAndLastDictationResult:(BOOL)a0;
- (void)dictationShortCutKey:(id)a0;
- (void)_addNewDictationUndoCheckpoint;
- (void)setIdleTimerDisabled:(BOOL)a0 forReason:(id)a1;
- (BOOL)isIgnoringRTIChanges;
- (BOOL)isSelectionRequiredForCommand:(unsigned long long)a0;
- (void)handleWKActionMoveAfter;
- (void)_endOfflineMetricsSession;
- (void)dictationConnection:(id)a0 didReceiveSearchResults:(id)a1 recognizedText:(id)a2 stable:(BOOL)a3 final:(BOOL)a4;
- (void)_handleDataSharingSheetDecision;
- (BOOL)isRecievingResults;
- (void)_stopStreamingAnimation;
- (void)finishDictationRecognitionWithPhrases:(id)a0 languageModel:(id)a1 correctionIdentifier:(id)a2 secureInput:(BOOL)a3;
- (void)forceDictationReturnToKeyboardInputMode;
- (void)restoreTextFieldPlaceholder;
- (id)currentDictationLanguageForDisplay;
- (void)stopDictationAndResignFirstResponder;
- (void)dictationConnectionDidFinish:(id)a0;
- (void)stopAndCancelDictationWithReasonType:(unsigned long long)a0;
- (BOOL)_shouldUpdateHelperMessageDisplay;
- (id)selectedTextForInputDelegate:(id)a0;
- (void)dictationConnection:(id)a0 didStartRecordingWithOptions:(id)a1;
- (void)startHelperMessageDisplay;
- (void)stopDictationIgnoreFinalizePhrases;
- (void)resetLastHypothesis;
- (void)markKeyboardDeleteMetricEvent;
- (id)languageCodeForAssistantLanguageCode:(id)a0;
- (void)_markOfflineDictationInputMetricEvent;
- (void)performIgnoringRTIChanges:(id /* block */)a0;
- (void)stopDictation;
- (int)state;
- (BOOL)dictationConnection:(id)a0 filterState:(id)a1 shouldCheckpointAtToken:(id)a2;
- (void)markDictationTipInputEvent;
- (BOOL)supportsDictationLanguage:(id)a0 error:(id *)a1;
- (void)presentationControllerDidDismiss:(id)a0;
- (void)cancelRecordingLimitTimer;
- (BOOL)canApplyVoiceCommandWithIdentifier:(id)a0 parameters:(id)a1 commandUtteranceString:(id)a2;
- (void)releaseConnection;
- (BOOL)_allowsMicsInSearchFieldForLanguageIdentifiers:(id)a0;
- (void)logAlternativeSelected:(id)a0 correctionIdentifier:(id)a1 interactionIdentifier:(id)a2;
- (void)overrideSmartLanguageSelection:(id)a0;
- (void)_runFinalizeOperation;
- (void)setupToInsertResultForNewHypothesis:(id)a0;
- (void)handleWKActionMoveBefore;
- (void)dictationConnectionDidCancel:(id)a0;
- (void)resignFirstResponderWhenIdleIfNeeded;
- (void)dictationConnnectionDidChangeAvailability:(id)a0;
- (struct _NSRange { unsigned long long x0; unsigned long long x1; })searchStringWithWordBoundariesValidation:(id)a0 substring:(id)a1 reverse:(BOOL)a2;
- (void)didShowAlternatives:(id)a0 correctionIdentifier:(id)a1 interactionIdentifier:(id)a2 instrumentationContext:(id)a3 dictationLanguage:(id)a4;
- (BOOL)isDictationPaused;
- (void)preheatIfNecessary;
- (void)_performStandardEditAction:(SEL)a0 sender:(id)a1;
- (float)normalizedAudioLevel;
- (void)completeStartConnectionForFileAtURL:(id)a0 forInputModeIdentifier:(id)a1;
- (void)_completeStartDictationWithContinuation:(id /* block */)a0;
- (id)fieldIdentifierInputDelegate:(id)a0;
- (void)releaseConnectionAfterStatisticsLogging;
- (void)prepareVoiceCommandSingleTapGesture:(id)a0;
- (id)commandTargetStringWithDictationCommandIdentifier:(unsigned long long)a0 parameters:(id)a1;
- (void)dictationPrivacySheetControllerDidFinish:(id)a0;
- (void)insertLastHypothesisAsFinalResultLocally;
- (BOOL)_findFirstDictationUndoCheckpoint;
- (float)audioLevel;
- (id)prefixTextForInputDelegate:(id)a0 wordCount:(unsigned long long)a1;
- (void)_endEnableDictationPromptAnimated:(BOOL)a0;
- (void)dictationConnection:(id)a0 didDetectLanguage:(id)a1;
- (void)resumeDictation;
- (void)startDictation;
- (BOOL)shouldSuppressPartialResults;
- (void)_applyWKAlternativesPayload:(id)a0 toAbsoluteRanges:(id)a1 valueRangeToText:(id)a2 asyncDelegate:(id)a3 context:(id)a4 originalSelectedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a5 completionHandler:(id /* block */)a6;
- (id)presentingViewControllerForPrivacySheet;
- (void)stopHelperMessageDisplay;
- (void)startRecordingLimitTimer;
- (void)instrumentationDictationContextEmitInstrumentation;
- (id)_containingSearchBarForView:(id)a0;
- (void)_dictationDidRecieveDidBeginDictationNotification:(id)a0;
- (void)_presentEnablementAndDataSharingPromptIfNeeded:(id /* block */)a0;
- (void)updateHelperMessageDisplayIfNeeded;
- (void)logDidAcceptDictationResult:(id)a0 reasonType:(unsigned long long)a1;
- (void)optInButtonPressedForPresenter:(id)a0;
- (void)switchToDictationInputModeWithTouch:(id)a0;
- (void)clearTextFieldPlaceholder;
- (id)_assistantCompatibleLanguageCodeForInputMode:(id)a0;
- (void)preferencesChanged:(id)a0;
- (void)dictationConnection:(id)a0 didFilterTokensWithFilterState:(id)a1 forFinalize:(BOOL)a2;
- (void)_restartDictation;
- (void)markKeyboardInputMetricEvent;
- (void)updateDoubleTapShortcutWithPreference:(long long)a0;
- (BOOL)dictationDisabledDueToTelephonyActivity;
- (void)startDictationWithContinuation:(id /* block */)a0;
- (void)voiceCommandSingleTapKey:(id)a0;
- (void)launchDictationFeedbackApp;
- (void)_setFinalResultHandler:(id /* block */)a0;
- (void)cancelDictationForResponderIfNeeded:(id)a0 wantsKeyboard:(BOOL)a1 isPencil:(BOOL)a2;
- (void)_startDictationWithContinuation:(id /* block */)a0;
- (void)stopDictation:(BOOL)a0;
- (void)_insertSerializedDictationResult:(id)a0 withCorrectionIdentifier:(id)a1;
- (BOOL)hasTextMatchForString:(id)a0;
- (void)startConnectionWithContinuation:(id /* block */)a0;
- (BOOL)isFallingBackToMonolingualDictation;
- (void)switchToKeyboardInputModeIfNeeded;
- (void)setDictationInputMode:(id)a0;
- (void)_presentOptInAlertWithCompletion:(id /* block */)a0;
- (BOOL)currentLanguageIsVerbFirstCommandLanguage;
- (void)_restoreInsertionPointPositionWithKeyboard:(id)a0 originalPositionRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 targetRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 payloadRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a3 contextBefore:(BOOL)a4;
- (BOOL)_shouldSuppressPartialForVoiceCommandGrammarParsePackage:(id)a0 commandPartialString:(id)a1;
- (void)dictationConnection:(id)a0 didReceivePartialPackage:(id)a1 nluResult:(id)a2 languageModel:(id)a3;
- (void)_handleWKMultipleTextTargetsForText:(id)a0 payloadText:(id)a1 completionHandler:(id /* block */)a2;
- (void)setShadowState:(int)a0;
- (void)_createDictationPresenterWindowIfNecessary;
- (void)resetIdleTimer;
- (void)presentEnablementAndDataSharingPromptIfNeeded:(id /* block */)a0;
- (BOOL)isSelectionBasedCommand:(unsigned long long)a0;
- (void)_handlePrivacySheetDismissal;
- (void)showLowStorageUserAlertWithLanguage:(id)a0;
- (void)presentAlertOfType:(long long)a0 withCompletion:(id /* block */)a1;
- (BOOL)dictationIsModifyingText;
- (void)cancelDictationForTextStoreChangesInResponder:(id)a0;
- (void)switchToDictationInputMode;
- (void)releaseConnectionAfterDictationRequest;
- (void)keyboardWillHide:(id)a0;
- (BOOL)dictationSearchFieldUISupportsTraitCollection:(id)a0;
- (void)performIgnoringDocumentChanges:(id /* block */)a0;
- (void)pauseDictation;
- (void)dictationConnection:(id)a0 didReceiveVoiceCommandCandidatePackage:(id)a1 nluResult:(id)a2;
- (void)_presentDataSharingOptInAlertWithCompletion:(id /* block */)a0;
- (void)setState:(int)a0;
- (void)rtiInputSessionWillChangeToNewProcess:(id)a0;
- (id)_rangeByExtendingRange:(id)a0 backward:(long long)a1 forward:(long long)a2 inputDelegate:(id)a3;
- (void)switchToDictationInputModeWithTouch:(id)a0 options:(id)a1;
- (void)markDictationTipDeletionEvent:(id)a0 deletedTextRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1;
- (id)dictationConnection:(id)a0 willFilterTokensWithLanguageModel:(id)a1 forFinalize:(BOOL)a2;
- (void)_presentPrivacySheetForType:(long long)a0 completion:(id /* block */)a1;
- (void)sendButtonPressedInMessages:(id)a0;
- (void)_runFinalizeOperation:(BOOL)a0;
- (void)dictationConnectionDidCancelIncompatibleLocalRecognizer:(id)a0;
- (void).cxx_destruct;
- (BOOL)isIgnoringDocumentChanges;
- (void)_handleRecognizedCommandWithCommandIdentifier:(unsigned long long)a0 parameters:(id)a1 strings:(id)a2;
- (id)postfixTextForInputDelegate:(id)a0 wordCount:(unsigned long long)a1;
- (long long)consecutiveKeyboardDeleteEventCount;
- (id)_hypothesisRangeFromSelectionRange:(id)a0 inputDelegate:(id)a1 forHypothesis:(id)a2;
- (void)endSessionIfNecessaryForTransitionFromState:(int)a0 toState:(int)a1;
- (void)cancelDictation;
- (BOOL)languageSupportsAdaptiveDelete;
- (void)pauseDictationOnUserInteraction:(long long)a0;
- (void)searchString:(id)a0 contextBefore:(id)a1 contextAfter:(id)a2 completionHandler:(id /* block */)a3;
- (void)resetDictation;
- (id /* block */)dictationBlockForToken:(id)a0;
- (void)dictationConnectionDidStartRecording:(id)a0;
- (void)markKeyboardDidReset;
- (void)dismissDictationView:(id)a0;
- (BOOL)smartLanguageSelectionOverridden;
- (void)clearKeyboardTrackpadModeIfNeeded;
- (void)errorAnimationDidFinish;
- (void)setupForDictationStart;
- (void)stopDictationByTimer;
- (void)searchString:(id)a0 completionHandler:(id /* block */)a1;
- (BOOL)_shouldInsertText:(id)a0 inInputDelegate:(id)a1;
- (void)resetAdaptiveDeleteActivationLogic;
- (void)finalizeDictationRecognitionWithPhrases:(id)a0 languageModel:(id)a1 correctionIdentifier:(id)a2 secureInput:(BOOL)a3 finalResult:(BOOL)a4;
- (struct __CFString { } *)resultTransformForLanguageModel:(id)a0;
- (BOOL)dictationEnabled;
- (BOOL)_handleMultipleTextTargetsForText:(id)a0 payloadText:(id)a1;
- (unsigned long long)specificReasonTypeFromApplicationDuringDictation;
- (void)markDictationTipKeyboardEventReset;
- (void)setupForStreamingDictationStart;
- (id)resultWithTrailingSpace:(id)a0;
- (void)dismissSoftwareKeyboardIfNeeded;
- (id)_finalDictationStartLanguageCodeWithKeyboardInputMode:(id)a0;
- (BOOL)dataSharingDecided;
- (void)switchToDictationInputModeWithOptions:(id)a0;
- (id)rangesForSearchStringWithWordBoundariesValidation:(id)a0 substring:(id)a1 reverse:(BOOL)a2;
- (void)dictationConnectionDidEndRecording:(id)a0;
- (void)dictationConnection:(id)a0 didReceiveCandidateDictationSerializableResults:(id)a1;
- (BOOL)shouldPresentOptInAlert;
- (BOOL)dictationWordwiseBackspaceEnabled;
- (void)removeSelectedText;
- (void)setupForAsyncDelegate;
- (id)presentingWindowForPrivacySheet;
- (id)_getBestHypothesisRangeGivenHintRange:(id)a0 inputDelegate:(id)a1 hypothesisRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a2 documentTextInRange:(id *)a3 forHypothesis:(id)a4;
- (void)startDictationForFileAtURL:(id)a0 forInputModeIdentifier:(id)a1;
- (BOOL)currentViewModeSupportsDictationMics;
- (BOOL)handleCommandRecognizedWithPhrases:(id)a0 locale:(id)a1;
- (BOOL)dictationSearchFieldUIEnabled;
- (void)_displaySecureContentsAsPlainText:(BOOL)a0 afterDelay:(double)a1;
- (void)showSoftwareKeyboardIfNeeded;
- (void)removeStartDictationKeyboardGestures;
- (void)requestVisibleTextWithCompletionBlock:(id /* block */)a0;
- (void)_logEnablementPromtMetricsWithStartDate:(id)a0;
- (void)notifyDocumentStateChangedAndResumeDictation:(id)a0;
- (void)dictationConnection:(id)a0 receivedInterpretation:(id)a1 languageModel:(id)a2 secureInput:(BOOL)a3;
- (void)_setupHypothesisAsFinalResults;
- (BOOL)supportsInputMode:(id)a0 error:(id *)a1;
- (void)setDictationInfoOnScreenNotifyKey:(BOOL)a0;
- (void)_performDictatinonUndoOperation;
- (void)_requestDocumentContextWithAsyncDelegate:(id)a0 completionHandler:(id /* block */)a1;
- (void)_touchPhaseChangedForTouch:(id)a0;
- (void)logDidAcceptReplacement:(id)a0 replacementLanguageCode:(id)a1 originalText:(id)a2 correctionIdentifier:(id)a3 interactionIdentifier:(id)a4;
- (BOOL)handleASRVoiceCommandRecognizedWithUtterance:(id)a0 commandIdentifier:(id)a1 parameters:(id)a2 voiceCommandUUID:(id)a3;
- (void)setLanguage:(id)a0;
- (void)dictationConnection:(id)a0 didFailRecordingWithError:(id)a1;
- (void)stopAndCancelDictationIfNeededWithReasonType:(unsigned long long)a0;
- (void)_finalizePhrasesOnDictationPause;
- (BOOL)_resolvedIsDictationPossible;
- (void)prepareStartDictationKeyboardGesturesForDelegate:(id)a0;
- (void)dictationConnection:(id)a0 filterState:(id)a1 processFilteredToken:(id)a2 forFinalize:(BOOL)a3;
- (BOOL)shouldOverrideManualEndpointing;
- (id)dictationConnection;
- (void)dictationConnection:(id)a0 didFailRecognitionWithError:(id)a1;
- (void)resetSpeechRecognition;
- (void)_resetSelectionAfterUndoOperation;
- (void)insertSerializedDictationResult:(id)a0 withCorrectionIdentifier:(id)a1;
- (BOOL)userInteractionShouldResetAdaptiveDeleteActivationLogic:(long long)a0;
- (void)dictationConnection:(id)a0 didBeginLocalRecognitionWithModelInfo:(id)a1;
- (void)updateLastHypothesis:(id)a0 WithNewHypothesis:(id)a1;
- (void)_updateLastHypothesis:(id)a0 WithNewHypothesis:(id)a1;
- (void)prepareStartDictationKeyboardGestures;
- (id)_voiceCommandGrammarParseResultWithParsePackage:(id)a0 completeCommands:(BOOL)a1;
- (void)switchToDictationLanguage:(id)a0;
- (void)endUserInteraction;
- (void)_UIDictationUndoRedoTextOperation:(id)a0;
- (void)updateRecordingLimitTimerIfNeeded;
- (void)forceOOPDocumentStateSync;
- (float)maxRecordingLength;

@end