UNPKG

maniiifest

Version:

Typesafe IIIF presentation v3 manifest and collection parsing without external dependencies

63 lines (62 loc) 5.76 kB
export declare function restore_specification<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_specification<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_service<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_service<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_service_item<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_service_item<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_motivation<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_motivation<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_annotation_body<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_annotation_body<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_annotation_body_items<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_annotation_body_items<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_annotation_target<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_annotation_target<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_resource_selector<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_resource_selector<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_source<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_source<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_body<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_body<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_target<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_target<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_first<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_first<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_label<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_label<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_selector<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_selector<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_range_items<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_range_items<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_geometry<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_geometry<T extends { type: string; }, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_language<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_language<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_context<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_context<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_part_of<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_part_of<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_creator<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_creator<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_creator_item<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_creator_item<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_email_strings<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_email_strings<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_email_sha1_strings<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_email_sha1_strings<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R; export declare function restore_homepage_strings<T, R>(x: T, context: any, fn: (input: T, context: any) => R[]): R; export declare function normalize_homepage_strings<T, R>(x: T, context: any, fn: (input: [string, T], context: any) => R): R;