declare const PHOTO_CONTEXT: {
    readonly safety: "https://safety.ratelworks.org/ontology/v1/";
    readonly cc: "https://construction.ratelworks.org/ontology/v1/";
    readonly prov: "http://www.w3.org/ns/prov#";
    readonly foaf: "http://xmlns.com/foaf/0.1/";
    readonly xsd: "http://www.w3.org/2001/XMLSchema#";
    readonly rdfs: "http://www.w3.org/2000/01/rdf-schema#";
};
export type PhotoEvidenceType = "before_action" | "after_action" | "inspection";
export interface PhotoEvidenceRecord {
    "@context": typeof PHOTO_CONTEXT;
    "@id": string;
    "@type": ["safety:PhotoEvidence", "prov:Entity", "foaf:Image"];
    photoId: string;
    label: string;
    fileUri: string;
    originalFilePath?: string;
    storagePath?: string;
    byteSize?: number;
    sha256?: string;
    relatedTask: string;
    relatedSite?: string;
    relatedRisk?: string;
    evidenceType: PhotoEvidenceType;
    capturedAt: string;
    createdAt: string;
    evidences: string[];
}
export interface SavePhotoEvidenceInput {
    filePath?: string;
    fileUri?: string;
    relatedTask: string;
    relatedSite?: string;
    relatedRisk?: string;
    evidenceType: PhotoEvidenceType;
    capturedAt: string;
}
export interface ListPhotoEvidenceFilter {
    siteId?: string;
    since?: string;
    activityId?: string;
}
export declare function getSafetyStorageRoot(): string;
export declare function getPhotoStorageDir(): string;
export declare function toPhotoIri(photoId: string): string;
export declare function normalizePhotoId(photoIdOrIri: string): string;
export declare function savePhotoEvidence(input: SavePhotoEvidenceInput): Promise<PhotoEvidenceRecord>;
export declare function loadPhotoEvidence(photoIdOrIri: string): Promise<PhotoEvidenceRecord | null>;
export declare function listPhotoEvidence(filter?: ListPhotoEvidenceFilter): Promise<PhotoEvidenceRecord[]>;
export declare function appendPhotoEvidenceIssue(photoIdOrIri: string, issueId: string): Promise<PhotoEvidenceRecord | null>;
export {};
//# sourceMappingURL=photo-storage.d.ts.map