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 IamListPoliciesQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type IamListPoliciesRequest = {
    /**
     * 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?: IamListPoliciesQueryParamFilter | 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 IamListPoliciesResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of policies was retrieved.
     */
    iamPoliciesPaginated?: shared.IamPoliciesPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const IamListPoliciesQueryParamFilter$inboundSchema: z.ZodType<IamListPoliciesQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListPoliciesQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const IamListPoliciesQueryParamFilter$outboundSchema: z.ZodType<IamListPoliciesQueryParamFilter$Outbound, z.ZodTypeDef, IamListPoliciesQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListPoliciesQueryParamFilter$ {
    /** @deprecated use `IamListPoliciesQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListPoliciesQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListPoliciesQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListPoliciesQueryParamFilter$Outbound, z.ZodTypeDef, IamListPoliciesQueryParamFilter>;
    /** @deprecated use `IamListPoliciesQueryParamFilter$Outbound` instead. */
    type Outbound = IamListPoliciesQueryParamFilter$Outbound;
}
export declare function iamListPoliciesQueryParamFilterToJSON(iamListPoliciesQueryParamFilter: IamListPoliciesQueryParamFilter): string;
export declare function iamListPoliciesQueryParamFilterFromJSON(jsonString: string): SafeParseResult<IamListPoliciesQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const IamListPoliciesRequest$inboundSchema: z.ZodType<IamListPoliciesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListPoliciesRequest$Outbound = {
    expand?: string | null | undefined;
    fields?: string | null | undefined;
    filter?: IamListPoliciesQueryParamFilter$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 IamListPoliciesRequest$outboundSchema: z.ZodType<IamListPoliciesRequest$Outbound, z.ZodTypeDef, IamListPoliciesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListPoliciesRequest$ {
    /** @deprecated use `IamListPoliciesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListPoliciesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListPoliciesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListPoliciesRequest$Outbound, z.ZodTypeDef, IamListPoliciesRequest>;
    /** @deprecated use `IamListPoliciesRequest$Outbound` instead. */
    type Outbound = IamListPoliciesRequest$Outbound;
}
export declare function iamListPoliciesRequestToJSON(iamListPoliciesRequest: IamListPoliciesRequest): string;
export declare function iamListPoliciesRequestFromJSON(jsonString: string): SafeParseResult<IamListPoliciesRequest, SDKValidationError>;
/** @internal */
export declare const IamListPoliciesResponse$inboundSchema: z.ZodType<IamListPoliciesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type IamListPoliciesResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    IamPoliciesPaginated?: shared.IamPoliciesPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const IamListPoliciesResponse$outboundSchema: z.ZodType<IamListPoliciesResponse$Outbound, z.ZodTypeDef, IamListPoliciesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace IamListPoliciesResponse$ {
    /** @deprecated use `IamListPoliciesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<IamListPoliciesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `IamListPoliciesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<IamListPoliciesResponse$Outbound, z.ZodTypeDef, IamListPoliciesResponse>;
    /** @deprecated use `IamListPoliciesResponse$Outbound` instead. */
    type Outbound = IamListPoliciesResponse$Outbound;
}
export declare function iamListPoliciesResponseToJSON(iamListPoliciesResponse: IamListPoliciesResponse): string;
export declare function iamListPoliciesResponseFromJSON(jsonString: string): SafeParseResult<IamListPoliciesResponse, SDKValidationError>;
//# sourceMappingURL=iamlistpolicies.d.ts.map