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 IamListGroupsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type IamListGroupsRequest = {
    /**
     * 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?: IamListGroupsQueryParamFilter | 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
     */
    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 is returned
     */
    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 IamListGroupsResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of groups was retrieved.
     */
    iamGroupsPaginated?: shared.IamGroupsPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const IamListGroupsQueryParamFilter$inboundSchema: z.ZodType<IamListGroupsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListGroupsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const IamListGroupsQueryParamFilter$outboundSchema: z.ZodType<IamListGroupsQueryParamFilter$Outbound, z.ZodTypeDef, IamListGroupsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListGroupsQueryParamFilter$ {
    /** @deprecated use `IamListGroupsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListGroupsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListGroupsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListGroupsQueryParamFilter$Outbound, z.ZodTypeDef, IamListGroupsQueryParamFilter>;
    /** @deprecated use `IamListGroupsQueryParamFilter$Outbound` instead. */
    type Outbound = IamListGroupsQueryParamFilter$Outbound;
}
export declare function iamListGroupsQueryParamFilterToJSON(iamListGroupsQueryParamFilter: IamListGroupsQueryParamFilter): string;
export declare function iamListGroupsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<IamListGroupsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const IamListGroupsRequest$inboundSchema: z.ZodType<IamListGroupsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListGroupsRequest$Outbound = {
    expand?: string | null | undefined;
    fields?: string | null | undefined;
    filter?: IamListGroupsQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size: string | null;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw: boolean | null;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const IamListGroupsRequest$outboundSchema: z.ZodType<IamListGroupsRequest$Outbound, z.ZodTypeDef, IamListGroupsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListGroupsRequest$ {
    /** @deprecated use `IamListGroupsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListGroupsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListGroupsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListGroupsRequest$Outbound, z.ZodTypeDef, IamListGroupsRequest>;
    /** @deprecated use `IamListGroupsRequest$Outbound` instead. */
    type Outbound = IamListGroupsRequest$Outbound;
}
export declare function iamListGroupsRequestToJSON(iamListGroupsRequest: IamListGroupsRequest): string;
export declare function iamListGroupsRequestFromJSON(jsonString: string): SafeParseResult<IamListGroupsRequest, SDKValidationError>;
/** @internal */
export declare const IamListGroupsResponse$inboundSchema: z.ZodType<IamListGroupsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListGroupsResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    IamGroupsPaginated?: shared.IamGroupsPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const IamListGroupsResponse$outboundSchema: z.ZodType<IamListGroupsResponse$Outbound, z.ZodTypeDef, IamListGroupsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListGroupsResponse$ {
    /** @deprecated use `IamListGroupsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListGroupsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListGroupsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListGroupsResponse$Outbound, z.ZodTypeDef, IamListGroupsResponse>;
    /** @deprecated use `IamListGroupsResponse$Outbound` instead. */
    type Outbound = IamListGroupsResponse$Outbound;
}
export declare function iamListGroupsResponseToJSON(iamListGroupsResponse: IamListGroupsResponse): string;
export declare function iamListGroupsResponseFromJSON(jsonString: string): SafeParseResult<IamListGroupsResponse, SDKValidationError>;
//# sourceMappingURL=iamlistgroups.d.ts.map