import {
    clickContinueIfWarning,
    takeScreenshot,
    configureInterval,
    convertIntervalForTradingView,
    configureSingleAlertSettings,
    clickSubmit,
    addAlert,
    navigateToSymbol,
    login,
    logout,
    fetchFirstXPath,
    checkForInvalidSymbol,
    launchBrowser,
    isXpathVisible
} from "./service/tv-page-actions.js"
import {SelectionError, InvalidSymbolError, AddAlertInvocationError, ErrorWithScreenShot} from "./classes.js";
import {fetchSymbolsForSource} from "./service/exchange-service.js"
import {waitForTimeout, atatVersion, isEnvEnabled, styleOverride} from "./service/common-service.js"
import log from "./service/log.js"

import {IBaseSymbol, ISingleAlertSettings, ClassificationType, soundNames, soundDurations} from "./interfaces.js"
import {MasterSymbol} from "./classes.js";

export type {IBaseSymbol, ISingleAlertSettings, MasterSymbol, ClassificationType}

export {
    launchBrowser,
    fetchFirstXPath,
    clickContinueIfWarning,
    takeScreenshot,
    configureInterval,
    configureSingleAlertSettings,
    clickSubmit,
    addAlert,
    navigateToSymbol,
    login,
    logout,
    fetchSymbolsForSource,
    waitForTimeout,
    atatVersion,
    log,
    isEnvEnabled,
    SelectionError,
    ErrorWithScreenShot,
    InvalidSymbolError,
    convertIntervalForTradingView,
    checkForInvalidSymbol,
    styleOverride,
    isXpathVisible,
    AddAlertInvocationError,
    soundDurations,
    soundNames
}

