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 DepartmentsPaginated = {
    data: Array<Department>;
    next?: string | null | undefined;
    /**
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    nextPage?: string | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const DepartmentsPaginated$inboundSchema: z.ZodType<DepartmentsPaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type DepartmentsPaginated$Outbound = {
    data: Array<Department$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const DepartmentsPaginated$outboundSchema: z.ZodType<DepartmentsPaginated$Outbound, z.ZodTypeDef, DepartmentsPaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DepartmentsPaginated$ {
    /** @deprecated use `DepartmentsPaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DepartmentsPaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `DepartmentsPaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DepartmentsPaginated$Outbound, z.ZodTypeDef, DepartmentsPaginated>;
    /** @deprecated use `DepartmentsPaginated$Outbound` instead. */
    type Outbound = DepartmentsPaginated$Outbound;
}
export declare function departmentsPaginatedToJSON(departmentsPaginated: DepartmentsPaginated): string;
export declare function departmentsPaginatedFromJSON(jsonString: string): SafeParseResult<DepartmentsPaginated, SDKValidationError>;
//# sourceMappingURL=departmentspaginated.d.ts.map