recoder-code
Version:
Complete AI-powered development platform with ML model training, plugin registry, real-time collaboration, monitoring, infrastructure automation, and enterprise deployment capabilities
21 lines (20 loc) • 705 B
TypeScript
/// <reference types="node" />
import { RedisCommandArgument, RedisCommandArguments } from '.';
interface CommonOptions {
REDIRECT?: number;
NOLOOP?: boolean;
}
interface BroadcastOptions {
BCAST?: boolean;
PREFIX?: RedisCommandArgument | Array<RedisCommandArgument>;
}
interface OptInOptions {
OPTIN?: boolean;
}
interface OptOutOptions {
OPTOUT?: boolean;
}
type ClientTrackingOptions = CommonOptions & (BroadcastOptions | OptInOptions | OptOutOptions);
export declare function transformArguments<M extends boolean>(mode: M, options?: M extends true ? ClientTrackingOptions : undefined): RedisCommandArguments;
export declare function transformReply(): 'OK' | Buffer;
export {};