import { TrackElementOptions, TrackFullPageMobileNativeOptions, TrackFullPageOptions, TrackImageOptions, TrackViewportOptions } from './core/domain/valueObjects/track.interface.js'; import { ScreenshotOutput } from './desktopBrowser/index.js'; import WdioImageComparisonService from './domain/service/webdriverService.js'; import { WdioLoggerAdapter } from './infrastructure/adapters/wdioLoggerAdapter/wdioLoggerAdapter.js'; import { ApolloAdapter, ApolloAdapterConfig, ApolloAdapterConfigSchema, ApolloAdapterOptions, CreateIntegrationScenarioPayload, CreateIntegrationScenarioPayloadSchema, CreateIntegrationStepPayload, CreateIntegrationStepPayloadSchema, CreateIntegrationSuitePayload, CreateIntegrationSuitePayloadSchema, IntegrationScenario, IntegrationStep, IntegrationSuite, createApolloTrackAdapter } from '@autonomous-testing/sdk'; /** * Extends the WebdriverIO namespace with additional methods for tracking images. */ declare global { namespace WebdriverIO { interface Browser { startSuite(suiteName: string): Promise; startScenario(scenarioName: string): Promise; stopScenario(): Promise; /** * Tracks an image of an element. * * @param {TrackElementOptions} [trackElementOptions] - Options for tracking the element image. * @returns {Promise} - A promise that resolves to the output of the track operation. */ trackElement(trackElementOptions: TrackElementOptions): Promise; /** * Tracks an image of the viewport. * * @param {TrackViewportOptions} [trackScreenOptions] - Options for tracking the screen image. * @returns {Promise} - A promise that resolves to the output of the track operation. */ trackScreen(nametrackViewportOptions: TrackViewportOptions): Promise; /** * Tracks an image of the complete screen. * * @param {TrackFullPageOptions} [trackFullPageScreenOptions] - Options for tracking the full page image. * @returns {Promise} - A promise that resolves to the output of the track operation. */ trackFullPageScreen(trackFullPageScreenOptions: TrackFullPageOptions): Promise; /** * Tracks an image of the complete screen. * * @param {TrackImageOptions} [trackImageOptions] - Options for tracking the full page image. * @returns {Promise} - A promise that resolves to the output of the track operation. */ trackImage(trackImageOptions: TrackImageOptions): Promise; /** * Tracks an image of the complete screen. * * @param {TrackFullPageMobileNativeOptions} [trackFullPageScreenOptions] - Options for tracking the full page image. * @returns {Promise} - A promise that resolves to the output of the track operation. */ trackFullPageMobileNative(trackFullPageMobileNativeOptions: TrackFullPageMobileNativeOptions): Promise; } interface Element { } interface Capabilities { 'wdio-ics:options'?: { logName?: string; }; } } } export default WdioImageComparisonService; export { CreateIntegrationScenarioPayload, CreateIntegrationScenarioPayloadSchema, CreateIntegrationStepPayload, CreateIntegrationStepPayloadSchema, CreateIntegrationSuitePayload, CreateIntegrationSuitePayloadSchema, IntegrationScenario, IntegrationStep, IntegrationSuite, createApolloTrackAdapter, ApolloAdapterConfig, ApolloAdapter, ApolloAdapterConfigSchema, WdioLoggerAdapter, ApolloAdapterOptions, }; //# sourceMappingURL=index.d.ts.map