import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { TimestampingMode } from "./timestampingmode.js";
export type TimestampingConfig = {
    mode?: TimestampingMode | null | undefined;
    /**
     * Allow client-specified timestamps to exceed the arrival time.
     *
     * @remarks
     * If this is `false` or not set, client timestamps will be capped at the arrival time.
     */
    uncapped?: boolean | null | undefined;
};
/** @internal */
export declare const TimestampingConfig$inboundSchema: z.ZodType<TimestampingConfig, z.ZodTypeDef, unknown>;
/** @internal */
export type TimestampingConfig$Outbound = {
    mode?: string | null | undefined;
    uncapped?: boolean | null | undefined;
};
/** @internal */
export declare const TimestampingConfig$outboundSchema: z.ZodType<TimestampingConfig$Outbound, z.ZodTypeDef, TimestampingConfig>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TimestampingConfig$ {
    /** @deprecated use `TimestampingConfig$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TimestampingConfig, z.ZodTypeDef, unknown>;
    /** @deprecated use `TimestampingConfig$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TimestampingConfig$Outbound, z.ZodTypeDef, TimestampingConfig>;
    /** @deprecated use `TimestampingConfig$Outbound` instead. */
    type Outbound = TimestampingConfig$Outbound;
}
export declare function timestampingConfigToJSON(timestampingConfig: TimestampingConfig): string;
export declare function timestampingConfigFromJSON(jsonString: string): SafeParseResult<TimestampingConfig, SDKValidationError>;
//# sourceMappingURL=timestampingconfig.d.ts.map