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