UNPKG

extension-develop

Version:
162 lines (161 loc) 12.1 kB
import type { DevOptions } from '../../../develop-lib/config-types'; type Browser = NonNullable<DevOptions['browser']>; type Mode = DevOptions['mode']; export declare function capitalizedBrowserName(browser: Browser): string; export declare function creatingUserProfile(browser: Browser): string; export declare function browserInstanceAlreadyRunning(browser: Browser): string; export declare function browserInstanceExited(browser: Browser): string; export declare function stdoutData(browser: Browser, mode: Mode): string; export declare function browserNotInstalledError(browser: Browser, browserBinaryLocation: string): string; export declare function injectingAddOnsError(browser: Browser, error: unknown): string; export declare function firefoxServiceWorkerError(browser: Browser): string; export declare function browserLaunchError(browser: Browser, error: unknown): string; export declare function enhancedProcessManagementStarting(browser: Browser): string; export declare function enhancedProcessManagementCleanup(browser: Browser): string; export declare function enhancedProcessManagementTerminating(browser: Browser): string; export declare function enhancedProcessManagementForceKill(browser: Browser): string; export declare function enhancedProcessManagementCleanupError(browser: Browser, error: unknown): string; export declare function enhancedProcessManagementInstanceCleanup(browser: Browser): string; export declare function enhancedProcessManagementInstanceCleanupComplete(browser: Browser): string; export declare function enhancedProcessManagementSignalHandling(browser: Browser): string; export declare function enhancedProcessManagementUncaughtException(browser: Browser, error: unknown): string; export declare function enhancedProcessManagementUnhandledRejection(browser: Browser, reason: unknown): string; export declare function generalBrowserError(browser: Browser, error: unknown): string; export declare function errorConnectingToBrowser(browser: Browser): string; export declare function addonInstallError(browser: Browser, message: string): string; export declare function pathIsNotDirectoryError(browser: Browser, profilePath: string): string; export declare function messagingClientClosedError(browser: Browser): string; export declare function requestWithoutTargetActorError(browser: Browser, requestType: string): string; export declare function connectionClosedError(browser: Browser): string; export declare function targetActorHasActiveRequestError(browser: Browser, targetActor: string): string; export declare function parsingPacketError(browser: Browser, error: unknown): string; export declare function messageWithoutSenderError(browser: Browser, message: { from?: string; type?: string; error?: unknown; }): string; export declare function unexpectedMessageReceivedError(browser: Browser, message: string): string; export declare function isUsingStartingUrl(browser: Browser, value: unknown): string; export declare function isUsingBrowserBinary(binary: string, binaryPath: unknown): string; export declare function isUsingProfile(browser: Browser, profilePath: unknown): string; export declare function isUsingPreferences(browser: Browser): string; export declare function isUsingBrowserFlags(browser: Browser): string; export declare function isBrowserLauncherOpen(browser: Browser, isOpen: boolean): string; export declare function pathDoesNotExistError(browser: Browser, profilePath: string): string; export declare function pathPermissionError(browser: Browser, profilePath: string): string; export declare function profileCreationError(browser: Browser, error: unknown): string; export declare function chromeProcessExited(code: number): string; export declare function chromeProcessError(error: unknown): string; export declare function chromeFailedToSpawn(error: unknown): string; export declare function chromeInitializingEnhancedReload(): string; export declare function firefoxLaunchCalled(): string; export declare function firefoxDetectionFailed(error: unknown): string; export declare function firefoxBinaryArgsExtracted(args: string): string; export declare function firefoxNoBinaryArgsFound(): string; export declare function firefoxFailedToExtractProfilePath(): string; export declare function firefoxFailedToStart(error: unknown): string; export declare function instanceManagerHealthMonitoringStart(instanceId: string): string; export declare function instanceManagerHealthMonitoringPassed(instanceId: string): string; export declare function instanceManagerHealthMonitoringOrphaned(instanceId: string): string; export declare function instanceManagerHealthMonitoringFailed(instanceId: string, error: unknown): string; export declare function instanceManagerForceCleanupProject(projectPath: string): string; export declare function instanceManagerForceCleanupFound(instanceCount: number): string; export declare function instanceManagerForceCleanupInstance(instanceId: string): string; export declare function instanceManagerForceCleanupTerminating(processId: number): string; export declare function instanceManagerForceCleanupForceKilled(processId: number): string; export declare function instanceManagerForceCleanupInstanceTerminated(instanceId: string): string; export declare function instanceManagerForceCleanupError(instanceId: string, error: unknown): string; export declare function instanceManagerForceCleanupComplete(): string; export declare function sourceInspectorInitialized(): string; export declare function sourceInspectorInitializationFailed(error: string): string; export declare function sourceInspectorChromeDebuggingRequired(port: number): string; export declare function sourceInspectorFirefoxDebuggingRequired(port: number): string; export declare function sourceInspectorWaitingForFirefox(): string; export declare function firefoxRemoteDebuggingReady(): string; export declare function sourceInspectorFirefoxNotReadyYet(retries: number, maxRetries: number): string; export declare function sourceInspectorWaitingForChrome(): string; export declare function chromeRemoteDebuggingReady(): string; export declare function sourceInspectorChromeNotReadyYet(retries: number, maxRetries: number): string; export declare function sourceInspectorOpeningUrl(url: string): string; export declare function sourceInspectorWaitingForPageLoad(): string; export declare function sourceInspectorCreatingTarget(): string; export declare function sourceInspectorFindingExistingTarget(): string; export declare function sourceInspectorUsingExistingTarget(targetId: string): string; export declare function sourceInspectorTargetCreated(targetId: string): string; export declare function sourceInspectorAttachingToTarget(): string; export declare function sourceInspectorAttachedToTarget(sessionId: string): string; export declare function sourceInspectorExtractingHTML(): string; export declare function sourceInspectorHTMLExtractionComplete(): string; export declare function sourceInspectorInspectionFailed(error: string): string; export declare function sourceInspectorStartingWatchMode(): string; export declare function sourceInspectorWatchModeActive(): string; export declare function sourceInspectorWatchModeStopped(): string; export declare function sourceInspectorCDPConnectionMaintained(): string; export declare function sourceInspectorNoActiveSession(): string; export declare function sourceInspectorReExtractingHTML(): string; export declare function sourceInspectorAttemptingReconnection(): string; export declare function sourceInspectorCannotReconnect(): string; export declare function sourceInspectorReconnectingToTarget(): string; export declare function sourceInspectorReconnectedToTarget(sessionId: string): string; export declare function sourceInspectorReconnectionFailed(error: string): string; export declare function sourceInspectorEnsuringNavigation(): string; export declare function sourceInspectorEnablingPageDomain(): string; export declare function sourceInspectorWaitingForContentScripts(): string; export declare function sourceInspectorWaitingForContentScriptReinjection(): string; export declare function sourceInspectorFileChanged(): string; export declare function sourceInspectorHTMLUpdateFailed(error: string): string; export declare function sourceInspectorCleanupComplete(): string; export declare function sourceInspectorCleanupError(error: string): string; export declare function sourceInspectorNotInitialized(): string; export declare function sourceInspectorInvalidWebSocketServer(): string; export declare function sourceInspectorUrlRequired(): string; export declare function sourceInspectorWillInspect(url: string): string; export declare function sourceInspectorSetupFailed(error: string): string; export declare function sourceInspectorHTMLOutputHeader(): string; export declare function sourceInspectorHTMLOutputTitle(title: string): string; export declare function sourceInspectorHTMLOutputFooter(): string; export declare function sourceInspectorClientNotInitialized(): string; export declare function sourceInspectorNoTabActorAvailable(): string; export declare function sourceInspectorNoTabTargetFound(): string; export declare function sourceInspectorHtmlExtractFailed(): string; export declare function cdpClientFoundTargets(count: number): string; export declare function cdpClientTargetWebSocketUrlStored(): string; export declare function cdpClientConnected(host: string, port: number): string; export declare function cdpClientConnectionError(error: string): string; export declare function cdpClientBrowserConnectionEstablished(): string; export declare function cdpClientConnectionClosed(): string; export declare function cdpClientMessageParseError(error: string): string; export declare function cdpClientPageLoadEventFired(): string; export declare function cdpClientLoadEventTimeout(): string; export declare function cdpClientTestingEvaluation(): string; export declare function cdpClientDocumentTitle(title: string): string; export declare function cdpClientGettingMainHTML(): string; export declare function cdpClientMainHTMLLength(length: number): string; export declare function cdpClientFailedToGetMainHTML(): string; export declare function cdpClientCheckingShadowDOM(): string; export declare function cdpClientShadowDOMContentFound(found: boolean): string; export declare function cdpClientShadowDOMContentLength(length: number): string; export declare function cdpClientProcessingShadowDOM(): string; export declare function cdpClientFinalHTMLWithShadowDOMLength(length: number): string; export declare function cdpClientReturningMainHTML(): string; export declare function cdpClientExtensionReloadFailed(extensionId: string, error: string): string; export declare function cdpClientExtensionUnloadFailed(extensionId: string, error: string): string; export declare function cdpClientExtensionInfoFailed(extensionId: string, error: string): string; export declare function cdpClientExtensionLoadFailed(path: string, error: string): string; export declare function firefoxRdpClientFoundTargets(count: number): string; export declare function firefoxRdpClientUsingTarget(title: string, url: string): string; export declare function firefoxRdpClientConnected(host: string, port: number): string; export declare function firefoxRdpClientConnectionError(error: string): string; export declare function firefoxRdpClientConnectionClosed(): string; export declare function firefoxRdpClientNoSuitableTargets(): string; export declare function firefoxRdpClientPageLoadEventFired(): string; export declare function firefoxRdpClientLoadEventTimeout(): string; export declare function firefoxRdpClientTestingEvaluation(): string; export declare function firefoxRdpClientDocumentTitle(title: string): string; export declare function firefoxRdpClientFailedToGetMainHTML(): string; export declare function firefoxRdpClientFinalHTMLLength(length: number): string; export declare function runningInDevelopment(manifest: any, browser: any, message: { data?: any; }): string; export declare function emptyLine(): string; export {};