import { ITypedBackendResponse } from "./backend-response";
export type checkerFn = (response: any) => boolean;
export declare function buildResponse<T>(response: any, rootProperty: string, checker: checkerFn): ITypedBackendResponse<T>;
export declare function buildErrorResponse<T>(error: any): ITypedBackendResponse<T>;
