import { Word } from "../../shell/Word.js"; import type { Request, Warnings } from "../../parse.js"; import { type JSImports } from "./javascript.js"; export declare const supportedArgs: Set; export declare function getDataString(data: Word, contentType: string | null | undefined, imports: JSImports): [string, string | null]; export declare function _toJavaScriptXHR(requests: Request[], warnings?: Warnings): string; export declare function toJavaScriptXHRWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings]; export declare function toJavaScriptXHR(curlCommand: string | string[]): string;