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 BasinMetricsRequest = {
    /**
     * Metric set to return.
     */
    set: components.BasinMetricSet;
    /**
     * Start timestamp as Unix epoch seconds, if applicable for the metric set.
     */
    start?: number | undefined;
    /**
     * End timestamp as Unix epoch seconds, if applicable for the metric set.
     */
    end?: number | undefined;
    /**
     * Interval to aggregate over for timeseries metric sets.
     */
    interval?: components.TimeseriesInterval | undefined;
    /**
     * Basin name.
     */
    basin: string;
};
/** @internal */
export declare const BasinMetricsRequest$inboundSchema: z.ZodType<BasinMetricsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type BasinMetricsRequest$Outbound = {
    set: string;
    start?: number | undefined;
    end?: number | undefined;
    interval?: string | undefined;
    basin: string;
};
/** @internal */
export declare const BasinMetricsRequest$outboundSchema: z.ZodType<BasinMetricsRequest$Outbound, z.ZodTypeDef, BasinMetricsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BasinMetricsRequest$ {
    /** @deprecated use `BasinMetricsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BasinMetricsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `BasinMetricsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BasinMetricsRequest$Outbound, z.ZodTypeDef, BasinMetricsRequest>;
    /** @deprecated use `BasinMetricsRequest$Outbound` instead. */
    type Outbound = BasinMetricsRequest$Outbound;
}
export declare function basinMetricsRequestToJSON(basinMetricsRequest: BasinMetricsRequest): string;
export declare function basinMetricsRequestFromJSON(jsonString: string): SafeParseResult<BasinMetricsRequest, SDKValidationError>;
//# sourceMappingURL=basinmetrics.d.ts.map