//#region src/runtime/test-helpers.d.ts declare function __setCurrentStep(stepId: string, source: string): void; declare function ab(...args: string[]): void; /** Wait for element/text with an explicit timeout so long-running async ops don't hang. */ declare function abWait(selector: string, timeoutMs?: number): void; /** * Upload one or more files to a file input via `agent-browser upload`. * Relative paths resolve against the test's cwd. We pre-check existence * locally so a typo in a fixture path surfaces as a clear error before * agent-browser exits with an opaque non-zero status. */ declare function abUpload(selector: string, ...files: string[]): void; /** Assert stable text is visible on page (via wait --text). */ declare function abAssertTextVisible(text: string, timeoutMs?: number): void; /** Assert element is visible (polls `get count`; never uses the blocking `wait `). */ declare function abAssertVisible(selector: string, timeoutMs?: number): void; /** Assert element is NOT visible (polls `get count` for absence; --fn for text). */ declare function abAssertNotVisible(selector: string, timeoutMs?: number): void; /** Assert URL contains a pattern (via get url). */ declare function abAssertUrl(pattern: string): void; /** Assert element is enabled (via is enabled). */ declare function abAssertEnabled(selector: string): void; /** Assert element is disabled (via is enabled). */ declare function abAssertDisabled(selector: string): void; /** Assert checkbox is checked (via is checked). */ declare function abAssertChecked(selector: string): void; /** Assert checkbox is unchecked (via is checked). */ declare function abAssertUnchecked(selector: string): void; /** * Capture a step-boundary evidence pair (PNG + JSON metadata) so a reviewer * can confirm at a glance that a passing spec actually drove the app to the * state its `expected` describes. Opt-in at runtime via `CCQA_EVIDENCE_DIR` so * generated scripts hand-run outside `ccqa run` don't write stray files. All * errors are swallowed with a stderr warning — evidence capture must never * flip a passing spec to red. */ declare function abStepEvidence(stepId: string, source: string): void; //#endregion export { __setCurrentStep, ab, abAssertChecked, abAssertDisabled, abAssertEnabled, abAssertNotVisible, abAssertTextVisible, abAssertUnchecked, abAssertUrl, abAssertVisible, abStepEvidence, abUpload, abWait };