Variable AggregationConfig

AggregationConfig: {
    create(
        base?: {
            discardOrigin?: boolean;
            intervalInMinutes?: number[];
            types?: AggregationType[];
        },
    ): AggregationConfig;
    decode(input: Uint8Array | Reader, length?: number): AggregationConfig;
    encode(message: AggregationConfig, writer?: Writer): Writer;
    fromJSON(object: any): AggregationConfig;
    fromPartial(
        object: {
            discardOrigin?: boolean;
            intervalInMinutes?: number[];
            types?: AggregationType[];
        },
    ): AggregationConfig;
    toJSON(message: AggregationConfig): unknown;
}