import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Campaign, Campaign$Outbound } from "./campaign.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type CampaignResult = {
    data: Campaign;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const CampaignResult$inboundSchema: z.ZodType<CampaignResult, z.ZodTypeDef, unknown>;
/** @internal */
export type CampaignResult$Outbound = {
    data: Campaign$Outbound;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const CampaignResult$outboundSchema: z.ZodType<CampaignResult$Outbound, z.ZodTypeDef, CampaignResult>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CampaignResult$ {
    /** @deprecated use `CampaignResult$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CampaignResult, z.ZodTypeDef, unknown>;
    /** @deprecated use `CampaignResult$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CampaignResult$Outbound, z.ZodTypeDef, CampaignResult>;
    /** @deprecated use `CampaignResult$Outbound` instead. */
    type Outbound = CampaignResult$Outbound;
}
export declare function campaignResultToJSON(campaignResult: CampaignResult): string;
export declare function campaignResultFromJSON(jsonString: string): SafeParseResult<CampaignResult, SDKValidationError>;
//# sourceMappingURL=campaignresult.d.ts.map