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 AtsListUsersQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsListUsersRequest = {
    /**
     * 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?: AtsListUsersQueryParamFilter | 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;
    /**
     * The sync token to select the only updated results
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    syncToken?: string | 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 AtsListUsersResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
    /**
     * The list of users was retrieved.
     */
    usersPaginated?: shared.UsersPaginated | undefined;
};
/** @internal */
export declare const AtsListUsersQueryParamFilter$inboundSchema: z.ZodType<AtsListUsersQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListUsersQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AtsListUsersQueryParamFilter$outboundSchema: z.ZodType<AtsListUsersQueryParamFilter$Outbound, z.ZodTypeDef, AtsListUsersQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListUsersQueryParamFilter$ {
    /** @deprecated use `AtsListUsersQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListUsersQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListUsersQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListUsersQueryParamFilter$Outbound, z.ZodTypeDef, AtsListUsersQueryParamFilter>;
    /** @deprecated use `AtsListUsersQueryParamFilter$Outbound` instead. */
    type Outbound = AtsListUsersQueryParamFilter$Outbound;
}
export declare function atsListUsersQueryParamFilterToJSON(atsListUsersQueryParamFilter: AtsListUsersQueryParamFilter): string;
export declare function atsListUsersQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AtsListUsersQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AtsListUsersRequest$inboundSchema: z.ZodType<AtsListUsersRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListUsersRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AtsListUsersQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size: string | null;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw: boolean | null;
    sync_token?: string | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const AtsListUsersRequest$outboundSchema: z.ZodType<AtsListUsersRequest$Outbound, z.ZodTypeDef, AtsListUsersRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListUsersRequest$ {
    /** @deprecated use `AtsListUsersRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListUsersRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListUsersRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListUsersRequest$Outbound, z.ZodTypeDef, AtsListUsersRequest>;
    /** @deprecated use `AtsListUsersRequest$Outbound` instead. */
    type Outbound = AtsListUsersRequest$Outbound;
}
export declare function atsListUsersRequestToJSON(atsListUsersRequest: AtsListUsersRequest): string;
export declare function atsListUsersRequestFromJSON(jsonString: string): SafeParseResult<AtsListUsersRequest, SDKValidationError>;
/** @internal */
export declare const AtsListUsersResponse$inboundSchema: z.ZodType<AtsListUsersResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListUsersResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
    UsersPaginated?: shared.UsersPaginated$Outbound | undefined;
};
/** @internal */
export declare const AtsListUsersResponse$outboundSchema: z.ZodType<AtsListUsersResponse$Outbound, z.ZodTypeDef, AtsListUsersResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListUsersResponse$ {
    /** @deprecated use `AtsListUsersResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListUsersResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListUsersResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListUsersResponse$Outbound, z.ZodTypeDef, AtsListUsersResponse>;
    /** @deprecated use `AtsListUsersResponse$Outbound` instead. */
    type Outbound = AtsListUsersResponse$Outbound;
}
export declare function atsListUsersResponseToJSON(atsListUsersResponse: AtsListUsersResponse): string;
export declare function atsListUsersResponseFromJSON(jsonString: string): SafeParseResult<AtsListUsersResponse, SDKValidationError>;
//# sourceMappingURL=atslistusers.d.ts.map