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 CrmListListsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type CrmListListsRequest = {
    /**
     * 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?: CrmListListsQueryParamFilter | 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?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type CrmListListsResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The collection of lists was retrieved.
     */
    listsPaginated?: shared.ListsPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const CrmListListsQueryParamFilter$inboundSchema: z.ZodType<CrmListListsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListListsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const CrmListListsQueryParamFilter$outboundSchema: z.ZodType<CrmListListsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListListsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListListsQueryParamFilter$ {
    /** @deprecated use `CrmListListsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListListsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListListsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListListsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListListsQueryParamFilter>;
    /** @deprecated use `CrmListListsQueryParamFilter$Outbound` instead. */
    type Outbound = CrmListListsQueryParamFilter$Outbound;
}
export declare function crmListListsQueryParamFilterToJSON(crmListListsQueryParamFilter: CrmListListsQueryParamFilter): string;
export declare function crmListListsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<CrmListListsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const CrmListListsRequest$inboundSchema: z.ZodType<CrmListListsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListListsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: CrmListListsQueryParamFilter$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 CrmListListsRequest$outboundSchema: z.ZodType<CrmListListsRequest$Outbound, z.ZodTypeDef, CrmListListsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListListsRequest$ {
    /** @deprecated use `CrmListListsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListListsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListListsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListListsRequest$Outbound, z.ZodTypeDef, CrmListListsRequest>;
    /** @deprecated use `CrmListListsRequest$Outbound` instead. */
    type Outbound = CrmListListsRequest$Outbound;
}
export declare function crmListListsRequestToJSON(crmListListsRequest: CrmListListsRequest): string;
export declare function crmListListsRequestFromJSON(jsonString: string): SafeParseResult<CrmListListsRequest, SDKValidationError>;
/** @internal */
export declare const CrmListListsResponse$inboundSchema: z.ZodType<CrmListListsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListListsResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    ListsPaginated?: shared.ListsPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const CrmListListsResponse$outboundSchema: z.ZodType<CrmListListsResponse$Outbound, z.ZodTypeDef, CrmListListsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListListsResponse$ {
    /** @deprecated use `CrmListListsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListListsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListListsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListListsResponse$Outbound, z.ZodTypeDef, CrmListListsResponse>;
    /** @deprecated use `CrmListListsResponse$Outbound` instead. */
    type Outbound = CrmListListsResponse$Outbound;
}
export declare function crmListListsResponseToJSON(crmListListsResponse: CrmListListsResponse): string;
export declare function crmListListsResponseFromJSON(jsonString: string): SafeParseResult<CrmListListsResponse, SDKValidationError>;
//# sourceMappingURL=crmlistlists.d.ts.map