import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Filter parameters that allow greater customisation of the list response
 */
export type IamListRolesQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type IamListRolesRequest = {
    /**
     * The comma separated list of fields that will be expanded in the response
     */
    expand?: string | null | undefined;
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * Filter parameters that allow greater customisation of the list response
     */
    filter?: IamListRolesQueryParamFilter | null | undefined;
    /**
     * The unified cursor
     */
    next?: string | null | undefined;
    /**
     * The page number of the results to fetch
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    page?: string | null | undefined;
    /**
     * The number of results per page (default value is 25)
     */
    pageSize?: string | null | undefined;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    updatedAfter?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type IamListRolesResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of roles was retrieved.
     */
    iamRolesPaginated?: shared.IamRolesPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const IamListRolesQueryParamFilter$inboundSchema: z.ZodType<IamListRolesQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListRolesQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const IamListRolesQueryParamFilter$outboundSchema: z.ZodType<IamListRolesQueryParamFilter$Outbound, z.ZodTypeDef, IamListRolesQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListRolesQueryParamFilter$ {
    /** @deprecated use `IamListRolesQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListRolesQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListRolesQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListRolesQueryParamFilter$Outbound, z.ZodTypeDef, IamListRolesQueryParamFilter>;
    /** @deprecated use `IamListRolesQueryParamFilter$Outbound` instead. */
    type Outbound = IamListRolesQueryParamFilter$Outbound;
}
export declare function iamListRolesQueryParamFilterToJSON(iamListRolesQueryParamFilter: IamListRolesQueryParamFilter): string;
export declare function iamListRolesQueryParamFilterFromJSON(jsonString: string): SafeParseResult<IamListRolesQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const IamListRolesRequest$inboundSchema: z.ZodType<IamListRolesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListRolesRequest$Outbound = {
    expand?: string | null | undefined;
    fields?: string | null | undefined;
    filter?: IamListRolesQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size?: string | null | undefined;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const IamListRolesRequest$outboundSchema: z.ZodType<IamListRolesRequest$Outbound, z.ZodTypeDef, IamListRolesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListRolesRequest$ {
    /** @deprecated use `IamListRolesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListRolesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListRolesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListRolesRequest$Outbound, z.ZodTypeDef, IamListRolesRequest>;
    /** @deprecated use `IamListRolesRequest$Outbound` instead. */
    type Outbound = IamListRolesRequest$Outbound;
}
export declare function iamListRolesRequestToJSON(iamListRolesRequest: IamListRolesRequest): string;
export declare function iamListRolesRequestFromJSON(jsonString: string): SafeParseResult<IamListRolesRequest, SDKValidationError>;
/** @internal */
export declare const IamListRolesResponse$inboundSchema: z.ZodType<IamListRolesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListRolesResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    IamRolesPaginated?: shared.IamRolesPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const IamListRolesResponse$outboundSchema: z.ZodType<IamListRolesResponse$Outbound, z.ZodTypeDef, IamListRolesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListRolesResponse$ {
    /** @deprecated use `IamListRolesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListRolesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListRolesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListRolesResponse$Outbound, z.ZodTypeDef, IamListRolesResponse>;
    /** @deprecated use `IamListRolesResponse$Outbound` instead. */
    type Outbound = IamListRolesResponse$Outbound;
}
export declare function iamListRolesResponseToJSON(iamListRolesResponse: IamListRolesResponse): string;
export declare function iamListRolesResponseFromJSON(jsonString: string): SafeParseResult<IamListRolesResponse, SDKValidationError>;
//# sourceMappingURL=iamlistroles.d.ts.map