import { Command, CommandOptions } from "./command.js";
export type ZInterStoreCommandOptions = {
    aggregate?: "sum" | "min" | "max";
} & ({
    weight: number;
    weights?: never;
} | {
    weight?: never;
    weights: number[];
} | {
    weight?: never;
    weights?: never;
});
/**
 * @see https://redis.io/commands/zInterstore
 */
export declare class ZInterStoreCommand extends Command<number, number> {
    constructor(cmd: [
        destination: string,
        numKeys: 1,
        key: string,
        opts?: ZInterStoreCommandOptions
    ], cmdOpts?: CommandOptions<number, number>);
    constructor(cmd: [
        destination: string,
        numKeys: number,
        keys: string[],
        opts?: ZInterStoreCommandOptions
    ], cmdOpts?: CommandOptions<number, number>);
}
