/** * PROV (Public Record Office Victoria) Type Definitions * * Types specific to the PROV data source. */ import { PROV_RECORD_FORMS, PROV_DOCUMENT_CATEGORIES, type PROVRecordForm, type PROVDocumentCategory } from '../../core/enums.js'; export { PROV_RECORD_FORMS, PROV_DOCUMENT_CATEGORIES }; export type { PROVRecordForm, PROVDocumentCategory }; export type PROVFacetField = 'record_form' | 'category' | 'series_id' | 'agencies.ids'; export declare const PROV_FACET_FIELDS: PROVFacetField[]; export declare const PROV_FACET_DISPLAY_NAMES: Record; export type PROVSortOption = 'relevance' | 'title'; export declare const PROV_SORT_OPTIONS: PROVSortOption[]; export declare const PROV_SORT_MAPPINGS: Record; export interface PROVSearchParams { query?: string; series?: string; agency?: string; category?: PROVDocumentCategory; recordForm?: string; startDate?: string; endDate?: string; digitisedOnly?: boolean; rows?: number; start?: number; sortby?: PROVSortOption; includeFacets?: boolean; facetFields?: PROVFacetField[]; facetLimit?: number; } export interface PROVRecord { id: string; title: string; description?: string; series?: string; seriesTitle?: string; agency?: string; agencyTitle?: string; recordForm?: string; startDate?: string; endDate?: string; iiifManifest?: string; digitised: boolean; url: string; } export interface PROVFacetValue { value: string; count: number; } export interface PROVFacet { name: PROVFacetField; displayName: string; values: PROVFacetValue[]; } export interface PROVSearchResult { totalResults: number; start: number; rows: number; records: PROVRecord[]; facets?: PROVFacet[]; } export interface PROVSeries { id: string; title: string; description?: string; agency?: string; agencyTitle?: string; dateRange?: string; accessStatus?: string; itemCount?: number; } export interface PROVImage { page: number; label: string; thumbnail: string; medium: string; full: string; } export interface PROVImagesResult { manifestUrl: string; title: string; description?: string; totalPages: number; images: PROVImage[]; } export interface PROVAgency { id: string; title: string; description?: string; dateRange?: string; status?: string; seriesCount?: number; } //# sourceMappingURL=types.d.ts.map