import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { MetricUnit } from "./metricunit.js";
export type GaugeValues = number | number;
export type Gauge = {
    /**
     * Timeseries name.
     */
    name: string;
    unit: MetricUnit;
    /**
     * Timeseries values.
     *
     * @remarks
     * Each element is a tuple of a timestamp in Unix epoch seconds and a data point.
     * The data point represents the value at the instant of the timestamp.
     */
    values: Array<Array<number | number>>;
};
/** @internal */
export declare const GaugeValues$inboundSchema: z.ZodType<GaugeValues, z.ZodTypeDef, unknown>;
/** @internal */
export type GaugeValues$Outbound = number | number;
/** @internal */
export declare const GaugeValues$outboundSchema: z.ZodType<GaugeValues$Outbound, z.ZodTypeDef, GaugeValues>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GaugeValues$ {
    /** @deprecated use `GaugeValues$inboundSchema` instead. */
    const inboundSchema: z.ZodType<number, z.ZodTypeDef, unknown>;
    /** @deprecated use `GaugeValues$outboundSchema` instead. */
    const outboundSchema: z.ZodType<number, z.ZodTypeDef, number>;
    /** @deprecated use `GaugeValues$Outbound` instead. */
    type Outbound = GaugeValues$Outbound;
}
export declare function gaugeValuesToJSON(gaugeValues: GaugeValues): string;
export declare function gaugeValuesFromJSON(jsonString: string): SafeParseResult<GaugeValues, SDKValidationError>;
/** @internal */
export declare const Gauge$inboundSchema: z.ZodType<Gauge, z.ZodTypeDef, unknown>;
/** @internal */
export type Gauge$Outbound = {
    name: string;
    unit: string;
    values: Array<Array<number | number>>;
};
/** @internal */
export declare const Gauge$outboundSchema: z.ZodType<Gauge$Outbound, z.ZodTypeDef, Gauge>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Gauge$ {
    /** @deprecated use `Gauge$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Gauge, z.ZodTypeDef, unknown>;
    /** @deprecated use `Gauge$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Gauge$Outbound, z.ZodTypeDef, Gauge>;
    /** @deprecated use `Gauge$Outbound` instead. */
    type Outbound = Gauge$Outbound;
}
export declare function gaugeToJSON(gauge: Gauge): string;
export declare function gaugeFromJSON(jsonString: string): SafeParseResult<Gauge, SDKValidationError>;
//# sourceMappingURL=gauge.d.ts.map