import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ProviderMessageType } from "./providermessagetype.js"; export type ProviderMessage = { message?: string | null | undefined; type?: ProviderMessageType | undefined; }; /** @internal */ export declare const ProviderMessage$inboundSchema: z.ZodType; /** @internal */ export type ProviderMessage$Outbound = { message?: string | null | undefined; type?: string | undefined; }; /** @internal */ export declare const ProviderMessage$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ProviderMessage$ { /** @deprecated use `ProviderMessage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ProviderMessage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ProviderMessage$Outbound` instead. */ type Outbound = ProviderMessage$Outbound; } export declare function providerMessageToJSON(providerMessage: ProviderMessage): string; export declare function providerMessageFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=providermessage.d.ts.map