export interface UrlGetParams { url: string; } export type UrlGetError = "fetch" | "http" | "non-html" | "challenge" | "no-account-dir"; export type UrlGetResult = { ok: true; url: string; httpStatus: number; bytes: number; textLength: number; referencePath: string; text: string; } | { ok: false; url: string; error: UrlGetError; message: string; httpStatus?: number; }; export declare function urlGet(params: UrlGetParams): Promise; //# sourceMappingURL=url-get.d.ts.map