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