import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type StreamMetricsRequest = {
    /**
     * Metric set to return.
     */
    set: components.StreamMetricSet;
    /**
     * Start timestamp as Unix epoch seconds, if applicable for the metric set.
     */
    start?: number | undefined;
    /**
     * End timestamp as Unix epoch seconds, if applicable for metric set.
     */
    end?: number | undefined;
    /**
     * Interval to aggregate over for timeseries metric sets.
     */
    interval?: components.TimeseriesInterval | undefined;
    /**
     * Basin name.
     */
    basin: string;
    /**
     * Stream name.
     */
    stream: string;
};
/** @internal */
export declare const StreamMetricsRequest$inboundSchema: z.ZodType<StreamMetricsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type StreamMetricsRequest$Outbound = {
    set: string;
    start?: number | undefined;
    end?: number | undefined;
    interval?: string | undefined;
    basin: string;
    stream: string;
};
/** @internal */
export declare const StreamMetricsRequest$outboundSchema: z.ZodType<StreamMetricsRequest$Outbound, z.ZodTypeDef, StreamMetricsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace StreamMetricsRequest$ {
    /** @deprecated use `StreamMetricsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<StreamMetricsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `StreamMetricsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<StreamMetricsRequest$Outbound, z.ZodTypeDef, StreamMetricsRequest>;
    /** @deprecated use `StreamMetricsRequest$Outbound` instead. */
    type Outbound = StreamMetricsRequest$Outbound;
}
export declare function streamMetricsRequestToJSON(streamMetricsRequest: StreamMetricsRequest): string;
export declare function streamMetricsRequestFromJSON(jsonString: string): SafeParseResult<StreamMetricsRequest, SDKValidationError>;
//# sourceMappingURL=streammetrics.d.ts.map