namespace SharedKernel.Storage { public interface IEditorImageService { /// data:image 를 파일로 저장하고 src를 /editors/... URL로 치환 + 미사용 파일 정리 Task UploadAsync(string? html, FileStoragePath path, CancellationToken ct = default); /// 콘텐츠 내 로컬 이미지(/editors, /uploads)만 삭제 Task CleanupByContentAsync(string? html, CancellationToken ct = default); /// 특정 경로 폴더 통째 정리(해당 Editor Root) void CleanupFolder(FileStoragePath path); } }