tftsr-devops_investigation/node_modules/webdriverio/build/index.d.ts
Shaun Arman 8839075805 feat: initial implementation of TFTSR IT Triage & RCA application
Implements Phases 1-8 of the TFTSR implementation plan.

Rust backend (Tauri 2.x, src-tauri/):
- Multi-provider AI: OpenAI-compatible, Anthropic, Gemini, Mistral, Ollama
- PII detection engine: 11 regex patterns with overlap resolution
- SQLCipher AES-256 encrypted database with 10 versioned migrations
- 28 Tauri IPC commands for triage, analysis, document, and system ops
- Ollama: hardware probe, model recommendations, pull/delete with events
- RCA and blameless post-mortem Markdown document generators
- PDF export via printpdf
- Audit log: SHA-256 hash of every external data send
- Integration stubs for Confluence, ServiceNow, Azure DevOps (v0.2)

Frontend (React 18 + TypeScript + Vite, src/):
- 9 pages: full triage workflow NewIssue→LogUpload→Triage→Resolution→RCA→Postmortem→History+Settings
- 7 components: ChatWindow, TriageProgress, PiiDiffViewer, DocEditor, HardwareReport, ModelSelector, UI primitives
- 3 Zustand stores: session, settings (persisted), history
- Type-safe tauriCommands.ts matching Rust backend types exactly
- 8 IT domain system prompts (Linux, Windows, Network, K8s, DB, Virt, HW, Obs)

DevOps:
- .woodpecker/test.yml: rustfmt, clippy, cargo test, tsc, vitest on every push
- .woodpecker/release.yml: linux/amd64 + linux/arm64 builds, Gogs release upload

Verified:
- cargo check: zero errors
- tsc --noEmit: zero errors
- vitest run: 13/13 unit tests passing

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 22:36:25 -05:00

103 lines
4.0 KiB
TypeScript

import type { Capabilities } from '@wdio/types';
import type * as WebDriverTypes from 'webdriver';
import SevereServiceErrorImport from './utils/SevereServiceError.js';
import type { AttachOptions } from './types.js';
export * from './types.js';
export declare const Key: {
readonly Ctrl: "WDIO_CONTROL";
readonly NULL: "";
readonly Cancel: "";
readonly Help: "";
readonly Backspace: "";
readonly Tab: "";
readonly Clear: "";
readonly Return: "";
readonly Enter: "";
readonly Shift: "";
readonly Control: "";
readonly Alt: "";
readonly Pause: "";
readonly Escape: "";
readonly Space: "";
readonly PageUp: "";
readonly PageDown: "";
readonly End: "";
readonly Home: "";
readonly ArrowLeft: "";
readonly ArrowUp: "";
readonly ArrowRight: "";
readonly ArrowDown: "";
readonly Insert: "";
readonly Delete: "";
readonly Semicolon: "";
readonly Equals: "";
readonly Numpad0: "";
readonly Numpad1: "";
readonly Numpad2: "";
readonly Numpad3: "";
readonly Numpad4: "";
readonly Numpad5: "";
readonly Numpad6: "";
readonly Numpad7: "";
readonly Numpad8: "";
readonly Numpad9: "";
readonly Multiply: "";
readonly Add: "";
readonly Separator: "";
readonly Subtract: "";
readonly Decimal: "";
readonly Divide: "";
readonly F1: "";
readonly F2: "";
readonly F3: "";
readonly F4: "";
readonly F5: "";
readonly F6: "";
readonly F7: "";
readonly F8: "";
readonly F9: "";
readonly F10: "";
readonly F11: "";
readonly F12: "";
readonly Command: "";
readonly ZenkakuHankaku: "";
};
export declare const SevereServiceError: typeof SevereServiceErrorImport;
/**
* A method to create a new session with WebdriverIO.
*
* <b>
* NOTE: If you hit "error TS2694: Namespace 'global.WebdriverIO' has no exported member 'Browser'" when using typescript,
* add "@wdio/globals/types" into tsconfig.json's "types" array will solve it: <code> { "compilerOptions": { "types": ["@wdio/globals/types"] } } </code>
* </b>
*
* @param params Options to create the session with
* @param remoteModifier Modifier function to change the monad object
* @return browser object with sessionId
* @see <a href="https://webdriver.io/docs/typescript">Typescript setup</a>
*/
export declare const remote: (params: Capabilities.WebdriverIOConfig, remoteModifier?: (client: WebDriverTypes.Client, options: Capabilities.WebdriverIOConfig) => WebDriverTypes.Client) => Promise<WebdriverIO.Browser>;
export declare const attach: (attachOptions: AttachOptions) => Promise<WebdriverIO.Browser>;
/**
* WebdriverIO allows you to run multiple automated sessions in a single test.
* This is handy when you're testing features that require multiple users (for example, chat or WebRTC applications).
*
* Instead of creating a couple of remote instances where you need to execute common commands like newSession() or url() on each instance,
* you can simply create a multiremote instance and control all browsers at the same time.
*
* <b>
* NOTE: Multiremote is not meant to execute all your tests in parallel.
* It is intended to help coordinate multiple browsers and/or mobile devices for special integration tests (e.g. chat applications).
* </b>
*
* @param params capabilities to choose desired devices.
* @param automationProtocol
* @return All remote instances, the first result represents the capability defined first in the capability object,
* the second result the second capability and so on.
*
* @see <a href="https://webdriver.io/docs/multiremote">External document and example usage</a>.
*/
export declare const multiremote: (params: Capabilities.RequestedMultiremoteCapabilities, { automationProtocol }?: {
automationProtocol?: string;
}) => Promise<WebdriverIO.MultiRemoteBrowser>;
//# sourceMappingURL=index.d.ts.map