import { RespV2 } from "../types"; import { DendronError } from "../error"; /** Utility for {@link RespV2} */ export declare class ResponseUtil { /** true when response has an error; false otherwise. */ static hasError(resp: RespV2): boolean; static createHappyResponse(input: { data: T; }): RespV2; static createUnhappyResponse(input: { error: DendronError; }): RespV2; }