import * as z from "zod/v3";
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 MessagingListUsersQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type MessagingListUsersRequest = {
    /**
     * 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?: MessagingListUsersQueryParamFilter | 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?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type MessagingListUsersResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of users was retrieved.
     */
    messagingUsersPaginated?: shared.MessagingUsersPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const MessagingListUsersQueryParamFilter$inboundSchema: z.ZodType<MessagingListUsersQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListUsersQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const MessagingListUsersQueryParamFilter$outboundSchema: z.ZodType<MessagingListUsersQueryParamFilter$Outbound, z.ZodTypeDef, MessagingListUsersQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListUsersQueryParamFilter$ {
    /** @deprecated use `MessagingListUsersQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListUsersQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListUsersQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListUsersQueryParamFilter$Outbound, z.ZodTypeDef, MessagingListUsersQueryParamFilter>;
    /** @deprecated use `MessagingListUsersQueryParamFilter$Outbound` instead. */
    type Outbound = MessagingListUsersQueryParamFilter$Outbound;
}
export declare function messagingListUsersQueryParamFilterToJSON(messagingListUsersQueryParamFilter: MessagingListUsersQueryParamFilter): string;
export declare function messagingListUsersQueryParamFilterFromJSON(jsonString: string): SafeParseResult<MessagingListUsersQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const MessagingListUsersRequest$inboundSchema: z.ZodType<MessagingListUsersRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListUsersRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: MessagingListUsersQueryParamFilter$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 MessagingListUsersRequest$outboundSchema: z.ZodType<MessagingListUsersRequest$Outbound, z.ZodTypeDef, MessagingListUsersRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListUsersRequest$ {
    /** @deprecated use `MessagingListUsersRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListUsersRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListUsersRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListUsersRequest$Outbound, z.ZodTypeDef, MessagingListUsersRequest>;
    /** @deprecated use `MessagingListUsersRequest$Outbound` instead. */
    type Outbound = MessagingListUsersRequest$Outbound;
}
export declare function messagingListUsersRequestToJSON(messagingListUsersRequest: MessagingListUsersRequest): string;
export declare function messagingListUsersRequestFromJSON(jsonString: string): SafeParseResult<MessagingListUsersRequest, SDKValidationError>;
/** @internal */
export declare const MessagingListUsersResponse$inboundSchema: z.ZodType<MessagingListUsersResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListUsersResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    MessagingUsersPaginated?: shared.MessagingUsersPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const MessagingListUsersResponse$outboundSchema: z.ZodType<MessagingListUsersResponse$Outbound, z.ZodTypeDef, MessagingListUsersResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListUsersResponse$ {
    /** @deprecated use `MessagingListUsersResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListUsersResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListUsersResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListUsersResponse$Outbound, z.ZodTypeDef, MessagingListUsersResponse>;
    /** @deprecated use `MessagingListUsersResponse$Outbound` instead. */
    type Outbound = MessagingListUsersResponse$Outbound;
}
export declare function messagingListUsersResponseToJSON(messagingListUsersResponse: MessagingListUsersResponse): string;
export declare function messagingListUsersResponseFromJSON(jsonString: string): SafeParseResult<MessagingListUsersResponse, SDKValidationError>;
//# sourceMappingURL=messaginglistusers.d.ts.map