import type { MediaFolder } from '../media/media.constants';
export interface StoredObject {
    key: string;
    url: string;
}
export declare abstract class StorageService {
    abstract save(prefix: string, extension: string, body: Buffer, folder?: MediaFolder): Promise<StoredObject>;
    abstract move(fromKey: string, toKey: string): Promise<void>;
    abstract delete(key: string): Promise<void>;
    abstract exists(key: string): Promise<boolean>;
    abstract url(key: string): string;
    abstract keyFromUrl(url: string): string | null;
}
