import type { RedisAccessor } from '../../accessor/redis.ts';
import { type CapacityResult, type PathSpec } from '../../types.ts';
/**
 * The server's memory, for df, from `INFO memory`: its `maxmemory` limit as
 * the total and `used_memory` as used, the rest available.
 *
 * The numbers are the server's, whatever share of its keys the mount holds. A
 * server with no limit set (`maxmemory` 0) grows until its host stops it,
 * ELASTIC; one that does not answer INFO (the command renamed away or refused)
 * is UNKNOWN. Mirrors Python's `capacity`.
 */
export declare function capacity(accessor: RedisAccessor): Promise<CapacityResult>;
/** The bytes at `path`, a directory's files included; 0 for none. Mirrors
 * Python's `size_of`. */
export declare function sizeOf(accessor: RedisAccessor, path: PathSpec): Promise<number>;
/** The bytes every file of the mount holds. Mirrors Python's `count`. */
export declare function count(accessor: RedisAccessor): Promise<number>;
//# sourceMappingURL=capacity.d.ts.map