import { ApiPurposeType } from "../enums/api_purpose_type"; import { AssociationType, PurposeType } from "../enums"; import type ApiPhotoLocation3d from "./photos/api_photo_location_3d"; import type { DateLike, ModifyPartial, Vector2Like } from "type_aliases"; export declare type AvvirApiFileIds = { [purposeType in Type]?: number[]; }; export interface ApiCloudFileMetadata { offset?: Vector2Like; /** On a BIM_MASTERFORMAT_PREDICTIONS_TSV, the id of the RAW_PROJECT_BIM it was predicted from. */ sourceBimFileId?: number; /** On a BIM_MASTERFORMAT_CORRECTIONS_TSV, the id of the predictions file it corrects. */ sourcePredictionsFileId?: number; } export declare type ApiCloudFileArgument = ModifyPartial; export declare class ApiCloudFile { constructor({ url, id, lastModified, createdAt, purposeType, fileType, createdBy, fileSize, location3d, originalFileName, projectId, associationType, associationId, metadata }: ApiCloudFileArgument); readonly url: string; /** @deprecated Use metadata.offset */ location3d?: ApiPhotoLocation3d; readonly id?: number; lastModified?: number | null; readonly createdAt?: number | null; readonly purposeType: ApiPurposeType; readonly createdBy?: string; readonly fileSize?: number; readonly originalFileName?: string; readonly associationType?: AssociationType; readonly projectId?: number; readonly associationId?: number; metadata?: ApiCloudFileMetadata; readonly fileType?: string; } export default ApiCloudFile;