export type AttachmentTransferStage = "referenced" | "fetching" | "available" | "missing" | "expired"; export interface AttachmentDescriptor { profile: "mesh.attachment.v1"; roomId: string; ownerId: string; attachmentId: string; objectPath: string; mimeType: string; byteLength: number; retentionUntilMs?: number; } export declare function attachmentObjectPath(roomId: string, ownerId: string, attachmentId: string): string; export declare function createAttachmentDescriptor(roomId: string, ownerId: string, attachmentId: string, mimeType: string, byteLength: number, retentionUntilMs?: number): AttachmentDescriptor; export declare function attachmentStageFromAvailability(options: { present: boolean; fetching?: boolean; expired?: boolean; }): AttachmentTransferStage; //# sourceMappingURL=mesh-attachment.d.ts.map