UNPKG

curlconverter

Version:

convert curl commands to Python, JavaScript, Go, PHP and more

9 lines (8 loc) 535 B
import { Word } from "../../shell/Word.js"; import type { Request, Warnings } from "../../parse.js"; export declare const supportedArgs: Set<string>; export declare function reprStr(s: string): string; export declare function repr(w: Word, imports: Set<string>): string; export declare function _toJava(requests: Request[], warnings?: Warnings): string; export declare function toJavaWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings]; export declare function toJava(curlCommand: string | string[]): string;