UNPKG

@applitools/eyes-browser

Version:
24 lines (23 loc) 762 B
import { type SDK } from './SDK'; import { ProxySettings } from './input/ProxySettings'; type BatchCloseOptions = { batchIds: string[]; serverUrl: string; apiKey: string; proxy?: ProxySettings; }; export declare function closeBatch(sdk: SDK): (options: BatchCloseOptions) => Promise<void>; export declare class BatchClose { protected static readonly _sdk: SDK; protected get _sdk(): SDK; private _core; private _settings; static close(settings: BatchCloseOptions): Promise<void>; constructor(options?: BatchCloseOptions); close(): Promise<void>; setBatchIds(batchIds: string[]): this; setUrl(serverUrl: string): this; setApiKey(apiKey: string): this; setProxy(proxy: ProxySettings): this; } export {};