import JSZip from 'jszip'; import { GcrMetadata } from './models/gcr-metadata.js'; import { NonVerbalEntity } from './models/non-verbal-entity.js'; import { BibliographyData } from './models/bibliography-data.js'; import { type EntityType } from './entity-directory.js'; import type { Concept } from './models/concept.js'; import type { Register } from './models/register.js'; export { naturalSort } from './sort.js'; type ZipInput = Buffer | ArrayBuffer | Uint8Array | Blob | string; export declare function loadGcr(input: ZipInput): Promise; export declare class GcrPackage { private _zip; constructor(zip: JSZip); metadata(): Promise; register(): Promise; conceptIds(): Promise; concept(id: string): Promise; eachConcept(callback: (concept: Concept, index: number) => void | Promise): Promise; allConcepts(): Promise; compiledFormats(): Promise; compiledFormatIds(format: string): Promise; hasCompiledFormat(format: string): Promise; compiledFile(format: string, id: string): Promise; compiledFileBuffer(format: string, id: string): Promise; eachCompiledFile(format: string, callback: (id: string, content: string) => void | Promise): Promise; allCompiledFiles(format: string): Promise>; datasetAssetEntries(): Promise>; readDatasetFileAsset(assetPath: string): Promise; bibliography(): Promise; hasImages(): Promise; imageFileNames(): Promise; imageFile(path: string): Promise; eachImageFile(callback: (path: string, content: Uint8Array) => void | Promise): Promise; allImageFiles(): Promise>; readText(filePath: string): Promise; entryPaths(): Array<{ path: string; dir: boolean; }>; hasEntry(filePath: string): boolean; /** @deprecated Use readText instead */ _readText(filePath: string): Promise; entityIds(type: EntityType): Promise; entity(type: EntityType, id: string): Promise; eachEntity(type: EntityType, callback: (entity: NonVerbalEntity, id: string) => void | Promise): Promise; allEntities(type: EntityType): Promise; entityTypes(): Promise; } export declare function parseConceptYaml(raw: unknown, context?: string): Concept; //# sourceMappingURL=gcr-reader.d.ts.map