/** * POST a JSON to an endpoint with an optional retry count. * * @returns a Promise with the response as a json or string. */ export declare const postJSON: ({ headers, body, retries, }: { headers?: Record | undefined; body: any; retries?: number | undefined; }) => Promise;