MetricConfig: { create( base?: { aggregationConfig?: { discardOrigin?: boolean; intervalInMinutes?: number[]; types?: AggregationType[]; }; description?: string; name?: string; persistentBetweenVersion?: boolean; sparse?: boolean; type?: MetricType; unit?: string; }, ): MetricConfig; decode(input: Uint8Array | Reader, length?: number): MetricConfig; encode(message: MetricConfig, writer?: Writer): Writer; fromJSON(object: any): MetricConfig; fromPartial( object: { aggregationConfig?: { discardOrigin?: boolean; intervalInMinutes?: number[]; types?: AggregationType[]; }; description?: string; name?: string; persistentBetweenVersion?: boolean; sparse?: boolean; type?: MetricType; unit?: string; }, ): MetricConfig; toJSON(message: MetricConfig): unknown;}