curlconverter
Version:
convert curl commands to Python, JavaScript, Go, PHP and more
8 lines (7 loc) • 490 B
TypeScript
import { Word } from "../shell/Word.js";
import type { Request, Warnings } from "../parse.js";
export declare const supportedArgs: Set<string>;
export declare function repr(w: Word, importLines: Set<string>): string;
export declare function _toClojure(requests: Request[], warnings?: Warnings): string;
export declare function toClojureWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings];
export declare function toClojure(curlCommand: string | string[]): string;