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";
export type IamGetRoleRequest = {
    /**
     * 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;
    id: string;
    /**
     * 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;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type IamGetRoleResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The role with the given identifier was retrieved.
     */
    iamRoleResult?: shared.IamRoleResult | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const IamGetRoleRequest$inboundSchema: z.ZodType<IamGetRoleRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type IamGetRoleRequest$Outbound = {
    expand?: string | null | undefined;
    fields?: string | null | undefined;
    id: string;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const IamGetRoleRequest$outboundSchema: z.ZodType<IamGetRoleRequest$Outbound, z.ZodTypeDef, IamGetRoleRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamGetRoleRequest$ {
    /** @deprecated use `IamGetRoleRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamGetRoleRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamGetRoleRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamGetRoleRequest$Outbound, z.ZodTypeDef, IamGetRoleRequest>;
    /** @deprecated use `IamGetRoleRequest$Outbound` instead. */
    type Outbound = IamGetRoleRequest$Outbound;
}
export declare function iamGetRoleRequestToJSON(iamGetRoleRequest: IamGetRoleRequest): string;
export declare function iamGetRoleRequestFromJSON(jsonString: string): SafeParseResult<IamGetRoleRequest, SDKValidationError>;
/** @internal */
export declare const IamGetRoleResponse$inboundSchema: z.ZodType<IamGetRoleResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type IamGetRoleResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    IamRoleResult?: shared.IamRoleResult$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const IamGetRoleResponse$outboundSchema: z.ZodType<IamGetRoleResponse$Outbound, z.ZodTypeDef, IamGetRoleResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamGetRoleResponse$ {
    /** @deprecated use `IamGetRoleResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamGetRoleResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamGetRoleResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamGetRoleResponse$Outbound, z.ZodTypeDef, IamGetRoleResponse>;
    /** @deprecated use `IamGetRoleResponse$Outbound` instead. */
    type Outbound = IamGetRoleResponse$Outbound;
}
export declare function iamGetRoleResponseToJSON(iamGetRoleResponse: IamGetRoleResponse): string;
export declare function iamGetRoleResponseFromJSON(jsonString: string): SafeParseResult<IamGetRoleResponse, SDKValidationError>;
//# sourceMappingURL=iamgetrole.d.ts.map