/** * @file * * Mock of Obsidian's global `ajax` helper. */ import type { AjaxOptions } from '../../internal/types.cjs'; /** * Sends an HTTP request through `XMLHttpRequest`, reporting the outcome through the `success` and `error` callbacks. * A no-op in the mock: no request is sent and neither callback is called. * * @param _options - The request's URL, method, data, headers and callbacks. Ignored by the mock. */ export declare function ajax(_options: AjaxOptions): void;