import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { IamRole, IamRole$Outbound } from "./iamrole.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type IamRolesPaginated = {
    data: Array<IamRole>;
    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 IamRolesPaginated$inboundSchema: z.ZodType<IamRolesPaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type IamRolesPaginated$Outbound = {
    data: Array<IamRole$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const IamRolesPaginated$outboundSchema: z.ZodType<IamRolesPaginated$Outbound, z.ZodTypeDef, IamRolesPaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamRolesPaginated$ {
    /** @deprecated use `IamRolesPaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamRolesPaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamRolesPaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamRolesPaginated$Outbound, z.ZodTypeDef, IamRolesPaginated>;
    /** @deprecated use `IamRolesPaginated$Outbound` instead. */
    type Outbound = IamRolesPaginated$Outbound;
}
export declare function iamRolesPaginatedToJSON(iamRolesPaginated: IamRolesPaginated): string;
export declare function iamRolesPaginatedFromJSON(jsonString: string): SafeParseResult<IamRolesPaginated, SDKValidationError>;
//# sourceMappingURL=iamrolespaginated.d.ts.map