UNPKG

curlconverter

Version:

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

13 lines (12 loc) 808 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(word: Word, imports: Set<string>): string; export declare function atof1000(word: Word, imports: Set<string>): string; export declare function atoi(word: Word, imports: Set<string>): string; export declare function atol(word: Word, imports: Set<string>): string; export declare function printImports(imps: Set<string>): string; export declare function _toC(requests: Request[], warnings?: Warnings): string; export declare function toCWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings]; export declare function toC(curlCommand: string | string[]): string;