curlconverter
Version:
convert curl commands to Python, JavaScript, Go, PHP and more
10 lines (9 loc) • 561 B
TypeScript
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): string;
export declare function reprHashKey(w: Word): string;
export declare function _toPerl(requests: Request[], warnings?: Warnings): string;
export declare function toPerlWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings];
export declare function toPerl(curlCommand: string | string[]): string;