export declare function resolveUploadFilename(url: string | null | undefined): string | null;
export declare function collectReferencedFilenames(urls: (string | null | undefined)[]): Set<string>;
export declare class UploadsStorageService {
    private readonly logger;
    deleteByUrl(url: string | null | undefined): Promise<boolean>;
    listOrphans(referenced: Set<string>): Promise<{
        filename: string;
        path: string;
        bytes: number;
    }[]>;
    static toUrl(filename: string): string;
}
