/** * 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 { DoubleAnnotation } from './DoubleAnnotation'; import type { LongAnnotation } from './LongAnnotation'; import type { StringAnnotation } from './StringAnnotation'; /** * @type AnnotationBase * Generic interface for a key-value Annotation pair * @export */ export type AnnotationBase = { concreteType: 'org.sagebionetworks.repo.model.annotation.DoubleAnnotation'; } & DoubleAnnotation | { concreteType: 'org.sagebionetworks.repo.model.annotation.LongAnnotation'; } & LongAnnotation | { concreteType: 'org.sagebionetworks.repo.model.annotation.StringAnnotation'; } & StringAnnotation; export declare function AnnotationBaseFromJSON(json: any): AnnotationBase; export declare function AnnotationBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnnotationBase; export declare function AnnotationBaseToJSON(json: any): any; export declare function AnnotationBaseToJSONTyped(value?: AnnotationBase | null, ignoreDiscriminator?: boolean): any;