import { type StorageBackend } from '../api/storage-backend.js';
import { StorageOperation } from '../api/storage-operation.js';
export declare class EnvironmentStorageBackend implements StorageBackend {
    readonly prefix?: string;
    constructor(prefix?: string);
    isSupported(op: StorageOperation): boolean;
    /**
     * Let prefix = SOLO
     * Let separator = _
     *
     * Given:
     *  env = SOLO_CACHE_DIR=/tmp
     *  cfg = solo.cache.dir=/tmp
     * Then:
     *  key = cache.dir
     *  rnode = cache
     *  lnode = dir
     *  ltype = string
     *  value = /tmp
     *
     * Given:
     *  env = SOLO_DEPLOYMENTS_0_NAME=deployment1
     *  cfg = solo.deployments.0.name=deployment1
     * Then:
     *  key = deployments.0.name
     *  rnode = deployments
     *  inode = 0
     *  itype = array<object>
     *  lnode = name
     *  ltype = string
     *
     *  Given:
     *  env = SOLO_DEPLOYMENTS_0_CLUSTERS_0=e2e-cluster-1
     *  cfg = solo.deployments.0.clusters.0=e2e-cluster-1
     * Then:
     *  key = deployments.0.clusters.0
     *  rnode = deployments
     *  rtype = array
     *  lnode = clusters
     *  ltype = array<string>
     */
    list(): Promise<string[]>;
    readBytes(key: string): Promise<Buffer>;
    writeBytes(_key: string, _data: Buffer): Promise<void>;
    delete(_key: string): Promise<void>;
}
