export declare const API_PREFIX = "/rest/$designer";
export declare const EXT_API_PREFIX = "/rest/$designer-ext";
export declare function transformDates<T extends {
    [key: string]: any;
}>(...dateAttrs: string[]): (obj: T) => T;
export declare class HTTPError extends Error {
    url: string;
    response: Response;
    data?: any | undefined;
    constructor(url: string, response: Response, data?: any | undefined);
    log(): void;
}
export declare function http<T>(url: string, request: RequestInit): Promise<T>;
export declare function callServerSideParser(result: string | datasources.ServerSideResponse): string | datasources.ServerSideResponse;
