/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { DrsErrorResponse } from './DrsErrorResponse';
import type { ErrorResponse } from './ErrorResponse';
/**
 * @type BaseError
 * Base interface for API errors.
 * @export
 */
export type BaseError = {
    concreteType: 'org.sagebionetworks.repo.model.ErrorResponse';
} & ErrorResponse | {
    concreteType: 'org.sagebionetworks.repo.model.drs.DrsErrorResponse';
} & DrsErrorResponse;
export declare function BaseErrorFromJSON(json: any): BaseError;
export declare function BaseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseError;
export declare function BaseErrorToJSON(json: any): any;
export declare function BaseErrorToJSONTyped(value?: BaseError | null, ignoreDiscriminator?: boolean): any;
