maniiifest
Version:
Typesafe IIIF presentation v3 manifest and collection parsing without external dependencies
1,096 lines (1,095 loc) • 43.3 kB
TypeScript
export declare type SpecificationT = {
kind: 'Manifest';
value: ManifestT;
} | {
kind: 'Collection';
value: CollectionT;
};
export declare type CollectionT = {
context?: ContextT;
id: IdT;
type: TypeT;
label: LabelT;
metadata?: MetadataT[];
summary?: SummaryT;
requiredStatement?: RequiredStatementT;
thumbnail?: ThumbnailT[];
rendering?: RenderingT[];
rights?: RightsT;
seeAlso?: SeeAlsoT[];
homepage?: HomepageT[];
provider?: ProviderT[];
navDate?: NavDateT;
behavior?: BehaviorT[];
partOf?: PartOfT[];
service?: ServiceT;
services?: ServiceT;
placeholderCanvas?: PlaceholderCanvasT;
accompanyingCanvas?: AccompanyingCanvasT;
navPlace?: NavPlaceT;
items?: SpecificationT[];
};
export declare type ManifestT = {
context?: ContextT;
id: IdT;
type: TypeT;
label: LabelT;
metadata?: MetadataT[];
service?: ServiceT;
services?: ServiceT;
requiredStatement?: RequiredStatementT;
summary?: SummaryT;
thumbnail?: ThumbnailT[];
rendering?: RenderingT[];
viewingDirection?: ViewingDirectionT;
behavior?: BehaviorT[];
navDate?: NavDateT;
navPlace?: NavPlaceT;
rights?: RightsT;
seeAlso?: SeeAlsoT[];
homepage?: HomepageT[];
provider?: ProviderT[];
partOf?: PartOfT[];
start?: StartT;
items?: CanvasT[];
structures?: RangeT[];
annotations?: AnnotationPageT[];
};
export declare type ContextT = {
kind: 'T1';
value: ContextT1;
} | {
kind: 'T2';
value: ContextT2;
};
export declare type ContextT1 = string;
export declare type ContextT2 = string[];
export declare type ClassT = {
id: IdT;
type: TypeT;
label?: LabelT;
};
export declare type CanvasCoreT = {
id: IdT;
type: TypeT;
label?: LabelT;
height?: HeightT;
width?: WidthT;
duration?: DurationT;
metadata?: MetadataT[];
summary?: SummaryT;
requiredStatement?: RequiredStatementT;
rendering?: RenderingT[];
rights?: RightsT;
navDate?: NavDateT;
navPlace?: NavPlaceT;
provider?: ProviderT[];
seeAlso?: SeeAlsoT[];
service?: ServiceT;
thumbnail?: ThumbnailT[];
homepage?: HomepageT[];
behavior?: BehaviorT[];
partOf?: PartOfT[];
items?: AnnotationPageT[];
annotations?: AnnotationPageT[];
};
export declare type CanvasT = {
id: IdT;
type: TypeT;
label?: LabelT;
height?: HeightT;
width?: WidthT;
duration?: DurationT;
metadata?: MetadataT[];
summary?: SummaryT;
requiredStatement?: RequiredStatementT;
rendering?: RenderingT[];
rights?: RightsT;
navDate?: NavDateT;
navPlace?: NavPlaceT;
provider?: ProviderT[];
seeAlso?: SeeAlsoT[];
service?: ServiceT;
thumbnail?: ThumbnailT[];
homepage?: HomepageT[];
behavior?: BehaviorT[];
partOf?: PartOfT[];
items?: AnnotationPageT[];
annotations?: AnnotationPageT[];
placeholderCanvas?: PlaceholderCanvasT;
accompanyingCanvas?: AccompanyingCanvasT;
};
export declare type PlaceholderCanvasT = {
id: IdT;
type: TypeT;
label?: LabelT;
height?: HeightT;
width?: WidthT;
duration?: DurationT;
metadata?: MetadataT[];
summary?: SummaryT;
requiredStatement?: RequiredStatementT;
rendering?: RenderingT[];
rights?: RightsT;
navDate?: NavDateT;
navPlace?: NavPlaceT;
provider?: ProviderT[];
seeAlso?: SeeAlsoT[];
service?: ServiceT;
thumbnail?: ThumbnailT[];
homepage?: HomepageT[];
behavior?: BehaviorT[];
partOf?: PartOfT[];
items?: AnnotationPageT[];
annotations?: AnnotationPageT[];
};
export declare type AccompanyingCanvasT = {
id: IdT;
type: TypeT;
label?: LabelT;
height?: HeightT;
width?: WidthT;
duration?: DurationT;
metadata?: MetadataT[];
summary?: SummaryT;
requiredStatement?: RequiredStatementT;
rendering?: RenderingT[];
rights?: RightsT;
navDate?: NavDateT;
navPlace?: NavPlaceT;
provider?: ProviderT[];
seeAlso?: SeeAlsoT[];
service?: ServiceT;
thumbnail?: ThumbnailT[];
homepage?: HomepageT[];
behavior?: BehaviorT[];
partOf?: PartOfT[];
items?: AnnotationPageT[];
annotations?: AnnotationPageT[];
};
export declare type NavPlaceT = {
id?: IdT;
type: TypeT;
features?: FeatureT[];
};
export declare type FeatureCollectionT = {
id?: IdT;
type: TypeT;
features?: FeatureT[];
transformation?: TransformationT;
};
export declare type TransformationT = {
type?: TypeT;
options?: OptionsT;
};
export declare type OptionsT = {
order?: OrderT;
};
export declare type OrderT = number;
export declare type FeatureT = {
id?: IdT;
type?: TypeT;
properties?: PropertiesT;
geometry?: GeometryT;
};
export declare type PropertiesT = {
label?: LabelT;
};
export declare type GeometriesT = {
kind: 'T1';
value: GeometryT1;
} | {
kind: 'T2';
value: GeometryT2;
} | {
kind: 'T3';
value: GeometryT3;
} | {
kind: 'T4';
value: GeometryT4;
} | {
kind: 'T5';
value: GeometryT5;
} | {
kind: 'T6';
value: GeometryT6;
};
export declare type GeometryT = {
kind: 'T1';
value: GeometryT1;
} | {
kind: 'T2';
value: GeometryT2;
} | {
kind: 'T3';
value: GeometryT3;
} | {
kind: 'T4';
value: GeometryT4;
} | {
kind: 'T5';
value: GeometryT5;
} | {
kind: 'T6';
value: GeometryT6;
} | {
kind: 'T7';
value: GeometryT7;
};
export declare type GeometryT1 = {
type?: TypeT;
coordinates?: PointCoordinatesT[];
};
export declare type GeometryT2 = {
type?: TypeT;
coordinates?: MultiPointCoordinatesT[];
};
export declare type GeometryT3 = {
type?: TypeT;
coordinates?: LinestringCoordinatesT[];
};
export declare type GeometryT4 = {
type?: TypeT;
coordinates?: MultiLinestringCoordinatesT[];
};
export declare type GeometryT5 = {
type?: TypeT;
coordinates?: PolygonT[];
};
export declare type GeometryT6 = {
type?: TypeT;
coordinates?: MultiPolygonT[];
};
export declare type GeometryT7 = {
type?: TypeT;
geometries: GeometriesT[];
};
export declare type PointCoordinatesT = number;
export declare type MultiPointCoordinatesT = [number, number];
export declare type LinestringCoordinatesT = number[];
export declare type MultiLinestringCoordinatesT = number[][];
export declare type PolygonT = [number, number][];
export declare type MultiPolygonT = [number, number][][];
export declare type AnnotationPageT = {
context?: ContextT;
id?: IdT;
type: TypeT;
label?: LabelT;
partOf?: PartOfT;
next?: NextT;
startIndex?: StartIndexT;
rendering?: RenderingT[];
service?: ServiceT;
thumbnail?: ThumbnailT[];
items?: AnnotationT[];
};
export declare type AnnotationT = {
context?: ContextT;
id: IdT;
type: TypeT;
service?: ServiceT;
thumbnail?: ThumbnailT[];
rendering?: RenderingT[];
motivation?: MotivationT;
created?: CreatedT;
creator?: CreatorT;
modified?: ModifiedT;
body?: BodyT;
target?: TargetT;
};
export declare type CreatorT = {
kind: 'T1';
value: CreatorItemT;
} | {
kind: 'T2';
value: CreatorItemT[];
};
export declare type CreatorItemT = {
kind: 'T1';
value: CreatorItemT1;
} | {
kind: 'T2';
value: CreatorItemT2;
};
export declare type CreatorItemT1 = string;
export declare type CreatorItemT2 = {
id?: IdT;
type?: TypeT;
name?: NameT;
nickname?: NicknameT;
email?: EmailStringsT;
email_sha1?: EmailSha1StringsT;
homepage?: HomepageStringsT;
};
export declare type EmailStringsT = StringsT;
export declare type EmailSha1StringsT = StringsT;
export declare type HomepageStringsT = StringsT;
export declare type BodyT = {
kind: 'T1';
value: AnnotationBodyT;
} | {
kind: 'T2';
value: AnnotationBodyT[];
};
export declare type AnnotationBodyItemsT = {
kind: 'T0';
value: AnnotationBodyT0;
} | {
kind: 'T1';
value: AnnotationBodyT1;
} | {
kind: 'T2';
value: AnnotationBodyT2;
} | {
kind: 'T3';
value: AnnotationBodyT3;
} | {
kind: 'T4';
value: AnnotationBodyT4;
} | {
kind: 'T5';
value: AnnotationBodyT5;
} | {
kind: 'T6';
value: AnnotationBodyT6;
};
export declare type AnnotationBodyT = {
kind: 'T0';
value: AnnotationBodyT0;
} | {
kind: 'T1';
value: AnnotationBodyT1;
} | {
kind: 'T2';
value: AnnotationBodyT2;
} | {
kind: 'T3';
value: AnnotationBodyT3;
} | {
kind: 'T4';
value: AnnotationBodyT4;
} | {
kind: 'T5';
value: AnnotationBodyT5;
} | {
kind: 'T6';
value: AnnotationBodyT6;
} | {
kind: 'T7';
value: AnnotationBodyT7;
};
export declare type AnnotationBodyT0 = {
id?: IdT;
label?: LabelT;
format?: FormatT;
profile?: ProfileT;
language?: LanguageT;
value?: ValueT;
};
export declare type AnnotationBodyT1 = string;
export declare type AnnotationBodyT2 = {
id: IdT;
type: TypeT;
label?: LabelT;
format?: FormatT;
profile?: ProfileT;
width?: WidthT;
height?: HeightT;
duration?: DurationT;
language?: LanguageT;
rendering?: RenderingT[];
thumbnail?: ThumbnailT[];
service?: ServiceT;
annotations?: AnnotationPageT[];
};
export declare type AnnotationBodyT3 = {
id?: IdT;
type?: TypeT;
format?: FormatT;
accessibility?: AccessibilityT;
source: SourceT;
selector?: SelectorT;
language?: LanguageT;
};
export declare type AnnotationBodyT4 = {
type: TypeT;
language?: LanguageT;
format?: FormatT;
value?: ValueT;
creator?: CreatorT;
};
export declare type AnnotationBodyT5 = {
id?: IdT;
type?: TypeT;
properties?: PropertiesT;
geometry?: GeometryT;
};
export declare type AnnotationBodyT6 = {
id?: IdT;
type: TypeT;
features?: FeatureT[];
transformation?: TransformationT;
};
export declare type AnnotationBodyT7 = {
type?: TypeT;
items: AnnotationBodyItemsT[];
};
export declare type TargetT = {
kind: 'T1';
value: AnnotationTargetT;
} | {
kind: 'T2';
value: AnnotationTargetT[];
};
export declare type AnnotationTargetT = {
kind: 'T1';
value: AnnotationTargetT1;
} | {
kind: 'T2';
value: AnnotationTargetT2;
} | {
kind: 'T3';
value: AnnotationTargetT3;
} | {
kind: 'T4';
value: AnnotationTargetT4;
};
export declare type AnnotationTargetT1 = string;
export declare type AnnotationTargetT2 = {
source: IdT;
scope: IdT;
language?: LanguageT;
};
export declare type AnnotationTargetT3 = SpecificResourceT;
export declare type AnnotationTargetT4 = {
id: IdT;
partOf?: PartOfT;
language?: LanguageT;
};
export declare type SpecificResourceT = {
id?: IdT;
type?: TypeT;
format?: FormatT;
accessibility?: AccessibilityT;
source: SourceT;
selector?: SelectorT;
language?: LanguageT;
};
export declare type SourceT = {
kind: 'T1';
value: SourceT1;
} | {
kind: 'T2';
value: SourceT2;
};
export declare type SourceT1 = IdT;
export declare type SourceT2 = ClassT;
export declare type SelectorT = {
kind: 'T1';
value: ResourceSelectorT;
} | {
kind: 'T2';
value: ResourceSelectorT[];
};
export declare type ResourceSelectorT = {
kind: 'T1';
value: ResourceSelectorT1;
} | {
kind: 'T2';
value: ResourceSelectorT2;
} | {
kind: 'T3';
value: ResourceSelectorT3;
} | {
kind: 'T4';
value: ResourceSelectorT4;
} | {
kind: 'T5';
value: ResourceSelectorT5;
} | {
kind: 'T6';
value: ResourceSelectorT6;
} | {
kind: 'T7';
value: ResourceSelectorT7;
};
export declare type ResourceSelectorT1 = string;
export declare type ResourceSelectorT2 = {
type: TypeT;
t?: DurationT;
x_?: DimensonT;
y?: DimensonT;
};
export declare type ResourceSelectorT3 = {
type: TypeT;
conformsTo?: ConformsToT;
value: ValueT;
};
export declare type ConformsToT = string;
export declare type ResourceSelectorT4 = {
type: TypeT;
value: ValueT;
};
export declare type ResourceSelectorT5 = {
type: TypeT;
region?: RegionT;
size?: SizeT;
rotation?: RotatationT;
quality?: QualityT;
format?: FormatT;
};
export declare type ResourceSelectorT6 = {
type: TypeT;
prefix?: PrefixT;
exact: ExactT;
suffix?: SuffixT;
};
export declare type ResourceSelectorT7 = {
type: TypeT;
value: ValueT;
};
export declare type MetadataT = {
label: LngStringT;
value: LngStringT;
};
export declare type RequiredStatementT = {
label: LngStringT;
value: LngStringT;
};
export declare type ThumbnailT = ResourceT;
export declare type LogoT = ResourceT;
export declare type ResourceT = {
id: IdT;
type: TypeT;
label?: LabelT;
format?: FormatT;
profile?: ProfileT;
width?: WidthT;
height?: HeightT;
duration?: DurationT;
language?: LanguageT;
rendering?: RenderingT[];
thumbnail?: ThumbnailT[];
service?: ServiceT;
annotations?: AnnotationPageT[];
};
export declare type ServiceT = {
kind: 'T1';
value: ServiceItemT;
} | {
kind: 'T2';
value: ServiceItemT[];
};
export declare type ServiceItemT = {
kind: 'T1';
value: ServiceItemT1;
} | {
kind: 'T2';
value: ServiceItemT2;
};
export declare type ServiceItemT1 = {
id: IdT;
type: TypeT;
label?: LabelT;
profile?: ProfileT;
service?: ServiceT;
};
export declare type ServiceItemT2 = {
id: IdT;
type: TypeT;
label?: LabelT;
profile?: ProfileT;
service?: ServiceT;
};
export declare type LabelT = {
kind: 'T1';
value: LabelT1;
} | {
kind: 'T2';
value: LabelT2;
};
export declare type LabelT1 = string;
export declare type LabelT2 = LngStringT;
export declare type SummaryT = LngStringT;
export declare type LngStringT = [string, string[]][];
export declare type LanguageT = {
kind: 'T1';
value: LanguageT1;
} | {
kind: 'T2';
value: LanguageT2;
};
export declare type LanguageT1 = string;
export declare type LanguageT2 = string[];
export declare type ExternalT = {
id: IdT;
type: TypeT;
label?: LabelT;
format?: FormatT;
profile?: ProfileT;
};
export declare type SeeAlsoT = ExternalT;
export declare type RenderingT = ExternalT;
export declare type HomepageT = {
id: IdT;
type: TypeT;
label?: LabelT;
format?: FormatT;
language?: LanguageT[];
};
export declare type ProviderT = {
id: IdT;
type: TypeT;
label?: LabelT;
homepage?: HomepageT[];
logo?: LogoT[];
seeAlso?: SeeAlsoT[];
};
export declare type PartOfT = {
kind: 'T1';
value: PartOfT1;
} | {
kind: 'T2';
value: PartOfT2;
};
export declare type PartOfT1 = string;
export declare type PartOfT2 = {
id: IdT;
type?: TypeT;
label?: LabelT;
total?: TotalT;
};
export declare type StartT = ClassT;
export declare type MotivationT = {
kind: 'T1';
value: MotivationT1;
} | {
kind: 'T2';
value: MotivationT2;
};
export declare type MotivationT1 = string;
export declare type MotivationT2 = string[];
export declare type AnnotationCollectionT = {
context?: ContextT;
id: IdT;
type: TypeT;
label?: LabelT;
rendering?: RenderingT[];
partOf?: PartOfT;
total?: TotalT;
first?: FirstT;
last?: LastT;
service?: ServiceT;
thumbnail?: ThumbnailT[];
items?: AnnotationT[];
};
export declare type FirstT = {
kind: 'T1';
value: FirstT1;
} | {
kind: 'T2';
value: FirstT2;
};
export declare type FirstT1 = string;
export declare type FirstT2 = {
id: IdT;
type: TypeT;
label?: LabelT;
startIndex?: StartIndexT;
thumbnail?: ThumbnailT[];
next?: NextT;
items?: AnnotationT[];
};
export declare type RangeT = {
id: IdT;
type: TypeT;
label?: LabelT;
rendering?: RenderingT[];
supplementary?: AnnotationCollectionT;
service?: ServiceT;
placeholderCanvas?: PlaceholderCanvasT;
accompanyingCanvas?: AccompanyingCanvasT;
annotations?: AnnotationPageT[];
thumbnail?: ThumbnailT[];
navPlace?: NavPlaceT;
items: RangeItemsT[];
};
export declare type RangeItemsT = {
kind: 'T1';
value: SpecificResourceT;
} | {
kind: 'T2';
value: CanvasT;
} | {
kind: 'T3';
value: RangeT;
};
export declare type StringsT = {
kind: 'T1';
value: string;
} | {
kind: 'T2';
value: string[];
};
export declare type IdT = string;
export declare type TypeT = string;
export declare type HeightT = number;
export declare type WidthT = number;
export declare type DurationT = number;
export declare type CreatedT = string;
export declare type ModifiedT = string;
export declare type FormatT = string;
export declare type ProfileT = string;
export declare type ViewingDirectionT = string;
export declare type BehaviorT = string;
export declare type NavDateT = string;
export declare type RightsT = string;
export declare type ValueT = string;
export declare type AccessibilityT = string;
export declare type DimensonT = number;
export declare type PatternT = string;
export declare type DefaultT = string;
export declare type RegionT = string;
export declare type SizeT = string;
export declare type QualityT = string;
export declare type RotatationT = string;
export declare type TotalT = number;
export declare type LastT = string;
export declare type NextT = string;
export declare type StartIndexT = number;
export declare type NameT = string;
export declare type NicknameT = string;
export declare type PrefixT = string;
export declare type ExactT = string;
export declare type SuffixT = string;
export declare function _writeSpecificationT(x: SpecificationT, context?: any): any;
export declare function _readSpecificationT(x: any, context?: any): SpecificationT;
export declare function writeCollectionT(x: CollectionT, context?: any): any;
export declare function readCollectionT(x: any, context?: any): CollectionT;
export declare function writeManifestT(x: ManifestT, context?: any): any;
export declare function readManifestT(x: any, context?: any): ManifestT;
export declare function _writeContextT(x: ContextT, context?: any): any;
export declare function _readContextT(x: any, context?: any): ContextT;
export declare function writeContextT1(x: ContextT1, context?: any): any;
export declare function readContextT1(x: any, context?: any): ContextT1;
export declare function writeContextT2(x: ContextT2, context?: any): any;
export declare function readContextT2(x: any, context?: any): ContextT2;
export declare function writeClassT(x: ClassT, context?: any): any;
export declare function readClassT(x: any, context?: any): ClassT;
export declare function writeCanvasCoreT(x: CanvasCoreT, context?: any): any;
export declare function readCanvasCoreT(x: any, context?: any): CanvasCoreT;
export declare function writeCanvasT(x: CanvasT, context?: any): any;
export declare function readCanvasT(x: any, context?: any): CanvasT;
export declare function writePlaceholderCanvasT(x: PlaceholderCanvasT, context?: any): any;
export declare function readPlaceholderCanvasT(x: any, context?: any): PlaceholderCanvasT;
export declare function writeAccompanyingCanvasT(x: AccompanyingCanvasT, context?: any): any;
export declare function readAccompanyingCanvasT(x: any, context?: any): AccompanyingCanvasT;
export declare function writeNavPlaceT(x: NavPlaceT, context?: any): any;
export declare function readNavPlaceT(x: any, context?: any): NavPlaceT;
export declare function writeFeatureCollectionT(x: FeatureCollectionT, context?: any): any;
export declare function readFeatureCollectionT(x: any, context?: any): FeatureCollectionT;
export declare function writeTransformationT(x: TransformationT, context?: any): any;
export declare function readTransformationT(x: any, context?: any): TransformationT;
export declare function writeOptionsT(x: OptionsT, context?: any): any;
export declare function readOptionsT(x: any, context?: any): OptionsT;
export declare function writeOrderT(x: OrderT, context?: any): any;
export declare function readOrderT(x: any, context?: any): OrderT;
export declare function writeFeatureT(x: FeatureT, context?: any): any;
export declare function readFeatureT(x: any, context?: any): FeatureT;
export declare function writePropertiesT(x: PropertiesT, context?: any): any;
export declare function readPropertiesT(x: any, context?: any): PropertiesT;
export declare function writeGeometriesT(x: GeometriesT, context?: any): any;
export declare function readGeometriesT(x: any, context?: any): GeometriesT;
export declare function _writeGeometryT(x: GeometryT, context?: any): any;
export declare function _readGeometryT(x: any, context?: any): GeometryT;
export declare function writeGeometryT1(x: GeometryT1, context?: any): any;
export declare function readGeometryT1(x: any, context?: any): GeometryT1;
export declare function writeGeometryT2(x: GeometryT2, context?: any): any;
export declare function readGeometryT2(x: any, context?: any): GeometryT2;
export declare function writeGeometryT3(x: GeometryT3, context?: any): any;
export declare function readGeometryT3(x: any, context?: any): GeometryT3;
export declare function writeGeometryT4(x: GeometryT4, context?: any): any;
export declare function readGeometryT4(x: any, context?: any): GeometryT4;
export declare function writeGeometryT5(x: GeometryT5, context?: any): any;
export declare function readGeometryT5(x: any, context?: any): GeometryT5;
export declare function writeGeometryT6(x: GeometryT6, context?: any): any;
export declare function readGeometryT6(x: any, context?: any): GeometryT6;
export declare function writeGeometryT7(x: GeometryT7, context?: any): any;
export declare function readGeometryT7(x: any, context?: any): GeometryT7;
export declare function writePointCoordinatesT(x: PointCoordinatesT, context?: any): any;
export declare function readPointCoordinatesT(x: any, context?: any): PointCoordinatesT;
export declare function writeMultiPointCoordinatesT(x: MultiPointCoordinatesT, context?: any): any;
export declare function readMultiPointCoordinatesT(x: any, context?: any): MultiPointCoordinatesT;
export declare function writeLinestringCoordinatesT(x: LinestringCoordinatesT, context?: any): any;
export declare function readLinestringCoordinatesT(x: any, context?: any): LinestringCoordinatesT;
export declare function writeMultiLinestringCoordinatesT(x: MultiLinestringCoordinatesT, context?: any): any;
export declare function readMultiLinestringCoordinatesT(x: any, context?: any): MultiLinestringCoordinatesT;
export declare function writePolygonT(x: PolygonT, context?: any): any;
export declare function readPolygonT(x: any, context?: any): PolygonT;
export declare function writeMultiPolygonT(x: MultiPolygonT, context?: any): any;
export declare function readMultiPolygonT(x: any, context?: any): MultiPolygonT;
export declare function writeAnnotationPageT(x: AnnotationPageT, context?: any): any;
export declare function readAnnotationPageT(x: any, context?: any): AnnotationPageT;
export declare function writeAnnotationT(x: AnnotationT, context?: any): any;
export declare function readAnnotationT(x: any, context?: any): AnnotationT;
export declare function _writeCreatorT(x: CreatorT, context?: any): any;
export declare function _readCreatorT(x: any, context?: any): CreatorT;
export declare function _writeCreatorItemT(x: CreatorItemT, context?: any): any;
export declare function _readCreatorItemT(x: any, context?: any): CreatorItemT;
export declare function writeCreatorItemT1(x: CreatorItemT1, context?: any): any;
export declare function readCreatorItemT1(x: any, context?: any): CreatorItemT1;
export declare function writeCreatorItemT2(x: CreatorItemT2, context?: any): any;
export declare function readCreatorItemT2(x: any, context?: any): CreatorItemT2;
export declare function _writeEmailStringsT(x: EmailStringsT, context?: any): any;
export declare function _readEmailStringsT(x: any, context?: any): EmailStringsT;
export declare function _writeEmailSha1StringsT(x: EmailSha1StringsT, context?: any): any;
export declare function _readEmailSha1StringsT(x: any, context?: any): EmailSha1StringsT;
export declare function _writeHomepageStringsT(x: HomepageStringsT, context?: any): any;
export declare function _readHomepageStringsT(x: any, context?: any): HomepageStringsT;
export declare function _writeBodyT(x: BodyT, context?: any): any;
export declare function _readBodyT(x: any, context?: any): BodyT;
export declare function _writeAnnotationBodyItemsT(x: AnnotationBodyItemsT, context?: any): any;
export declare function _readAnnotationBodyItemsT(x: any, context?: any): AnnotationBodyItemsT;
export declare function _writeAnnotationBodyT(x: AnnotationBodyT, context?: any): any;
export declare function _readAnnotationBodyT(x: any, context?: any): AnnotationBodyT;
export declare function writeAnnotationBodyT0(x: AnnotationBodyT0, context?: any): any;
export declare function readAnnotationBodyT0(x: any, context?: any): AnnotationBodyT0;
export declare function writeAnnotationBodyT1(x: AnnotationBodyT1, context?: any): any;
export declare function readAnnotationBodyT1(x: any, context?: any): AnnotationBodyT1;
export declare function writeAnnotationBodyT2(x: AnnotationBodyT2, context?: any): any;
export declare function readAnnotationBodyT2(x: any, context?: any): AnnotationBodyT2;
export declare function writeAnnotationBodyT3(x: AnnotationBodyT3, context?: any): any;
export declare function readAnnotationBodyT3(x: any, context?: any): AnnotationBodyT3;
export declare function writeAnnotationBodyT4(x: AnnotationBodyT4, context?: any): any;
export declare function readAnnotationBodyT4(x: any, context?: any): AnnotationBodyT4;
export declare function writeAnnotationBodyT5(x: AnnotationBodyT5, context?: any): any;
export declare function readAnnotationBodyT5(x: any, context?: any): AnnotationBodyT5;
export declare function writeAnnotationBodyT6(x: AnnotationBodyT6, context?: any): any;
export declare function readAnnotationBodyT6(x: any, context?: any): AnnotationBodyT6;
export declare function writeAnnotationBodyT7(x: AnnotationBodyT7, context?: any): any;
export declare function readAnnotationBodyT7(x: any, context?: any): AnnotationBodyT7;
export declare function _writeTargetT(x: TargetT, context?: any): any;
export declare function _readTargetT(x: any, context?: any): TargetT;
export declare function _writeAnnotationTargetT(x: AnnotationTargetT, context?: any): any;
export declare function _readAnnotationTargetT(x: any, context?: any): AnnotationTargetT;
export declare function writeAnnotationTargetT1(x: AnnotationTargetT1, context?: any): any;
export declare function readAnnotationTargetT1(x: any, context?: any): AnnotationTargetT1;
export declare function writeAnnotationTargetT2(x: AnnotationTargetT2, context?: any): any;
export declare function readAnnotationTargetT2(x: any, context?: any): AnnotationTargetT2;
export declare function writeAnnotationTargetT3(x: AnnotationTargetT3, context?: any): any;
export declare function readAnnotationTargetT3(x: any, context?: any): AnnotationTargetT3;
export declare function writeAnnotationTargetT4(x: AnnotationTargetT4, context?: any): any;
export declare function readAnnotationTargetT4(x: any, context?: any): AnnotationTargetT4;
export declare function writeSpecificResourceT(x: SpecificResourceT, context?: any): any;
export declare function readSpecificResourceT(x: any, context?: any): SpecificResourceT;
export declare function _writeSourceT(x: SourceT, context?: any): any;
export declare function _readSourceT(x: any, context?: any): SourceT;
export declare function writeSourceT1(x: SourceT1, context?: any): any;
export declare function readSourceT1(x: any, context?: any): SourceT1;
export declare function writeSourceT2(x: SourceT2, context?: any): any;
export declare function readSourceT2(x: any, context?: any): SourceT2;
export declare function _writeSelectorT(x: SelectorT, context?: any): any;
export declare function _readSelectorT(x: any, context?: any): SelectorT;
export declare function _writeResourceSelectorT(x: ResourceSelectorT, context?: any): any;
export declare function _readResourceSelectorT(x: any, context?: any): ResourceSelectorT;
export declare function writeResourceSelectorT1(x: ResourceSelectorT1, context?: any): any;
export declare function readResourceSelectorT1(x: any, context?: any): ResourceSelectorT1;
export declare function writeResourceSelectorT2(x: ResourceSelectorT2, context?: any): any;
export declare function readResourceSelectorT2(x: any, context?: any): ResourceSelectorT2;
export declare function writeResourceSelectorT3(x: ResourceSelectorT3, context?: any): any;
export declare function readResourceSelectorT3(x: any, context?: any): ResourceSelectorT3;
export declare function writeConformsToT(x: ConformsToT, context?: any): any;
export declare function readConformsToT(x: any, context?: any): ConformsToT;
export declare function writeResourceSelectorT4(x: ResourceSelectorT4, context?: any): any;
export declare function readResourceSelectorT4(x: any, context?: any): ResourceSelectorT4;
export declare function writeResourceSelectorT5(x: ResourceSelectorT5, context?: any): any;
export declare function readResourceSelectorT5(x: any, context?: any): ResourceSelectorT5;
export declare function writeResourceSelectorT6(x: ResourceSelectorT6, context?: any): any;
export declare function readResourceSelectorT6(x: any, context?: any): ResourceSelectorT6;
export declare function writeResourceSelectorT7(x: ResourceSelectorT7, context?: any): any;
export declare function readResourceSelectorT7(x: any, context?: any): ResourceSelectorT7;
export declare function writeMetadataT(x: MetadataT, context?: any): any;
export declare function readMetadataT(x: any, context?: any): MetadataT;
export declare function writeRequiredStatementT(x: RequiredStatementT, context?: any): any;
export declare function readRequiredStatementT(x: any, context?: any): RequiredStatementT;
export declare function writeThumbnailT(x: ThumbnailT, context?: any): any;
export declare function readThumbnailT(x: any, context?: any): ThumbnailT;
export declare function writeLogoT(x: LogoT, context?: any): any;
export declare function readLogoT(x: any, context?: any): LogoT;
export declare function writeResourceT(x: ResourceT, context?: any): any;
export declare function readResourceT(x: any, context?: any): ResourceT;
export declare function _writeServiceT(x: ServiceT, context?: any): any;
export declare function _readServiceT(x: any, context?: any): ServiceT;
export declare function _writeServiceItemT(x: ServiceItemT, context?: any): any;
export declare function _readServiceItemT(x: any, context?: any): ServiceItemT;
export declare function writeServiceItemT1(x: ServiceItemT1, context?: any): any;
export declare function readServiceItemT1(x: any, context?: any): ServiceItemT1;
export declare function writeServiceItemT2(x: ServiceItemT2, context?: any): any;
export declare function readServiceItemT2(x: any, context?: any): ServiceItemT2;
export declare function _writeLabelT(x: LabelT, context?: any): any;
export declare function _readLabelT(x: any, context?: any): LabelT;
export declare function writeLabelT1(x: LabelT1, context?: any): any;
export declare function readLabelT1(x: any, context?: any): LabelT1;
export declare function writeLabelT2(x: LabelT2, context?: any): any;
export declare function readLabelT2(x: any, context?: any): LabelT2;
export declare function writeSummaryT(x: SummaryT, context?: any): any;
export declare function readSummaryT(x: any, context?: any): SummaryT;
export declare function writeLngStringT(x: LngStringT, context?: any): any;
export declare function readLngStringT(x: any, context?: any): LngStringT;
export declare function _writeLanguageT(x: LanguageT, context?: any): any;
export declare function _readLanguageT(x: any, context?: any): LanguageT;
export declare function writeLanguageT1(x: LanguageT1, context?: any): any;
export declare function readLanguageT1(x: any, context?: any): LanguageT1;
export declare function writeLanguageT2(x: LanguageT2, context?: any): any;
export declare function readLanguageT2(x: any, context?: any): LanguageT2;
export declare function writeExternalT(x: ExternalT, context?: any): any;
export declare function readExternalT(x: any, context?: any): ExternalT;
export declare function writeSeeAlsoT(x: SeeAlsoT, context?: any): any;
export declare function readSeeAlsoT(x: any, context?: any): SeeAlsoT;
export declare function writeRenderingT(x: RenderingT, context?: any): any;
export declare function readRenderingT(x: any, context?: any): RenderingT;
export declare function writeHomepageT(x: HomepageT, context?: any): any;
export declare function readHomepageT(x: any, context?: any): HomepageT;
export declare function writeProviderT(x: ProviderT, context?: any): any;
export declare function readProviderT(x: any, context?: any): ProviderT;
export declare function _writePartOfT(x: PartOfT, context?: any): any;
export declare function _readPartOfT(x: any, context?: any): PartOfT;
export declare function writePartOfT1(x: PartOfT1, context?: any): any;
export declare function readPartOfT1(x: any, context?: any): PartOfT1;
export declare function writePartOfT2(x: PartOfT2, context?: any): any;
export declare function readPartOfT2(x: any, context?: any): PartOfT2;
export declare function writeStartT(x: StartT, context?: any): any;
export declare function readStartT(x: any, context?: any): StartT;
export declare function _writeMotivationT(x: MotivationT, context?: any): any;
export declare function _readMotivationT(x: any, context?: any): MotivationT;
export declare function writeMotivationT1(x: MotivationT1, context?: any): any;
export declare function readMotivationT1(x: any, context?: any): MotivationT1;
export declare function writeMotivationT2(x: MotivationT2, context?: any): any;
export declare function readMotivationT2(x: any, context?: any): MotivationT2;
export declare function writeAnnotationCollectionT(x: AnnotationCollectionT, context?: any): any;
export declare function readAnnotationCollectionT(x: any, context?: any): AnnotationCollectionT;
export declare function _writeFirstT(x: FirstT, context?: any): any;
export declare function _readFirstT(x: any, context?: any): FirstT;
export declare function writeFirstT1(x: FirstT1, context?: any): any;
export declare function readFirstT1(x: any, context?: any): FirstT1;
export declare function writeFirstT2(x: FirstT2, context?: any): any;
export declare function readFirstT2(x: any, context?: any): FirstT2;
export declare function writeRangeT(x: RangeT, context?: any): any;
export declare function readRangeT(x: any, context?: any): RangeT;
export declare function _writeRangeItemsT(x: RangeItemsT, context?: any): any;
export declare function _readRangeItemsT(x: any, context?: any): RangeItemsT;
export declare function writeStringsT(x: StringsT, context?: any): any;
export declare function readStringsT(x: any, context?: any): StringsT;
export declare function writeIdT(x: IdT, context?: any): any;
export declare function readIdT(x: any, context?: any): IdT;
export declare function writeTypeT(x: TypeT, context?: any): any;
export declare function readTypeT(x: any, context?: any): TypeT;
export declare function writeHeightT(x: HeightT, context?: any): any;
export declare function readHeightT(x: any, context?: any): HeightT;
export declare function writeWidthT(x: WidthT, context?: any): any;
export declare function readWidthT(x: any, context?: any): WidthT;
export declare function writeDurationT(x: DurationT, context?: any): any;
export declare function readDurationT(x: any, context?: any): DurationT;
export declare function writeCreatedT(x: CreatedT, context?: any): any;
export declare function readCreatedT(x: any, context?: any): CreatedT;
export declare function writeModifiedT(x: ModifiedT, context?: any): any;
export declare function readModifiedT(x: any, context?: any): ModifiedT;
export declare function writeFormatT(x: FormatT, context?: any): any;
export declare function readFormatT(x: any, context?: any): FormatT;
export declare function writeProfileT(x: ProfileT, context?: any): any;
export declare function readProfileT(x: any, context?: any): ProfileT;
export declare function writeViewingDirectionT(x: ViewingDirectionT, context?: any): any;
export declare function readViewingDirectionT(x: any, context?: any): ViewingDirectionT;
export declare function writeBehaviorT(x: BehaviorT, context?: any): any;
export declare function readBehaviorT(x: any, context?: any): BehaviorT;
export declare function writeNavDateT(x: NavDateT, context?: any): any;
export declare function readNavDateT(x: any, context?: any): NavDateT;
export declare function writeRightsT(x: RightsT, context?: any): any;
export declare function readRightsT(x: any, context?: any): RightsT;
export declare function writeValueT(x: ValueT, context?: any): any;
export declare function readValueT(x: any, context?: any): ValueT;
export declare function writeAccessibilityT(x: AccessibilityT, context?: any): any;
export declare function readAccessibilityT(x: any, context?: any): AccessibilityT;
export declare function writeDimensonT(x: DimensonT, context?: any): any;
export declare function readDimensonT(x: any, context?: any): DimensonT;
export declare function writePatternT(x: PatternT, context?: any): any;
export declare function readPatternT(x: any, context?: any): PatternT;
export declare function writeDefaultT(x: DefaultT, context?: any): any;
export declare function readDefaultT(x: any, context?: any): DefaultT;
export declare function writeRegionT(x: RegionT, context?: any): any;
export declare function readRegionT(x: any, context?: any): RegionT;
export declare function writeSizeT(x: SizeT, context?: any): any;
export declare function readSizeT(x: any, context?: any): SizeT;
export declare function writeQualityT(x: QualityT, context?: any): any;
export declare function readQualityT(x: any, context?: any): QualityT;
export declare function writeRotatationT(x: RotatationT, context?: any): any;
export declare function readRotatationT(x: any, context?: any): RotatationT;
export declare function writeTotalT(x: TotalT, context?: any): any;
export declare function readTotalT(x: any, context?: any): TotalT;
export declare function writeLastT(x: LastT, context?: any): any;
export declare function readLastT(x: any, context?: any): LastT;
export declare function writeNextT(x: NextT, context?: any): any;
export declare function readNextT(x: any, context?: any): NextT;
export declare function writeStartIndexT(x: StartIndexT, context?: any): any;
export declare function readStartIndexT(x: any, context?: any): StartIndexT;
export declare function writeNameT(x: NameT, context?: any): any;
export declare function readNameT(x: any, context?: any): NameT;
export declare function writeNicknameT(x: NicknameT, context?: any): any;
export declare function readNicknameT(x: any, context?: any): NicknameT;
export declare function writePrefixT(x: PrefixT, context?: any): any;
export declare function readPrefixT(x: any, context?: any): PrefixT;
export declare function writeExactT(x: ExactT, context?: any): any;
export declare function readExactT(x: any, context?: any): ExactT;
export declare function writeSuffixT(x: SuffixT, context?: any): any;
export declare function readSuffixT(x: any, context?: any): SuffixT;
export declare type Option<T> = null | {
value: T;
};
export declare function writeSpecificationT(x: any, context?: any): SpecificationT;
export declare function readSpecificationT(x: any, context?: any): SpecificationT;
export declare function writeServiceT(x: any, context?: any): ServiceT;
export declare function readServiceT(x: any, context?: any): ServiceT;
export declare function readServiceItemT(x: any, context?: any): ServiceItemT;
export declare function writeServiceItemT(x: any, context?: any): ServiceItemT;
export declare function writeMotivationT(x: any, context?: any): MotivationT;
export declare function readMotivationT(x: any, context?: any): MotivationT;
export declare function writeAnnotationBodyT(x: any, context?: any): AnnotationBodyT;
export declare function readAnnotationBodyT(x: any, context?: any): AnnotationBodyT;
export declare function writeAnnotationBodyItemsT(x: any, context?: any): AnnotationBodyItemsT;
export declare function readAnnotationBodyItemsT(x: any, context?: any): AnnotationBodyItemsT;
export declare function writeAnnotationTargetT(x: any, context?: any): AnnotationTargetT;
export declare function readAnnotationTargetT(x: any, context?: any): AnnotationTargetT;
export declare function writeSelectorT(x: any, context?: any): SelectorT;
export declare function readSelectorT(x: any, context?: any): SelectorT;
export declare function writeSourceT(x: any, context?: any): SourceT;
export declare function readSourceT(x: any, context?: any): SourceT;
export declare function writeBodyT(x: any, context?: any): BodyT;
export declare function readBodyT(x: any, context?: any): BodyT;
export declare function writeTargetT(x: any, context?: any): TargetT;
export declare function readTargetT(x: any, context?: any): TargetT;
export declare function writeFirstT(x: any, context?: any): FirstT;
export declare function readFirstT(x: any, context?: any): FirstT;
export declare function writeLabelT(x: any, context?: any): LabelT;
export declare function readLabelT(x: any, context?: any): LabelT;
export declare function writeResourceSelectorT(x: any, context?: any): ResourceSelectorT;
export declare function readResourceSelectorT(x: any, context?: any): ResourceSelectorT;
export declare function writeRangeItemsT(x: any, context?: any): RangeItemsT;
export declare function readRangeItemsT(x: any, context?: any): RangeItemsT;
export declare function writeGeometryT(x: any, context?: any): GeometryT;
export declare function readGeometryT(x: any, context?: any): GeometryT;
export declare function writeLanguageT(x: any, context?: any): LanguageT;
export declare function readLanguageT(x: any, context?: any): LanguageT;
export declare function writeContextT(x: any, context?: any): ContextT;
export declare function readContextT(x: any, context?: any): ContextT;
export declare function writePartOfT(x: any, context?: any): PartOfT;
export declare function readPartOfT(x: any, context?: any): PartOfT;
export declare function writeCreatorT(x: any, context?: any): CreatorT;
export declare function readCreatorT(x: any, context?: any): CreatorT;
export declare function writeCreatorItemT(x: any, context?: any): CreatorItemT;
export declare function readCreatorItemT(x: any, context?: any): CreatorItemT;
export declare function writeEmailStringsT(x: any, context?: any): EmailStringsT;
export declare function readEmailStringsT(x: any, context?: any): EmailStringsT;
export declare function writeEmailSha1StringsT(x: any, context?: any): EmailSha1StringsT;
export declare function readEmailSha1StringsT(x: any, context?: any): EmailSha1StringsT;
export declare function writeHomepageStringsT(x: any, context?: any): HomepageStringsT;
export declare function readHomepageStringsT(x: any, context?: any): HomepageStringsT;