import type { StringOrBuffer } from '../index.ts'; export declare function createCommand(key: string, value: StringOrBuffer): StringOrBuffer[]; /** * @deprecated * @see https://redis.io/docs/latest/commands/getset/ * As of Redis version 6.2.0, this command is regarded as deprecated. * Use `set` with the `returnOldValue` option instead. */ export declare function getset(this: T, key: string, value: StringOrBuffer): Promise;