import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The order to sort the response by
 */
export declare const GetAllDemographicsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllDemographicsOrderBy = ClosedEnum<typeof GetAllDemographicsOrderBy>;
export type GetAllDemographicsRequest = {
    /**
     * Comma-separated list of fields to include in the response
     */
    fields?: string | undefined;
    /**
     * The maximum number of items to return in the paginated response
     */
    limit?: number | undefined;
    /**
     * The number of items to skip in the paginated response
     */
    offset?: number | undefined;
    /**
     * The field to sort the response by
     */
    sort?: string | undefined;
    /**
     * The order to sort the response by
     */
    orderBy?: GetAllDemographicsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Demographics collection retrieved successfully
 */
export type GetAllDemographicsResponseBody = {
    demographics: Array<components.Demographics>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllDemographicsResponse = {
    result: GetAllDemographicsResponseBody;
};
/** @internal */
export declare const GetAllDemographicsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllDemographicsOrderBy>;
/** @internal */
export declare const GetAllDemographicsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllDemographicsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllDemographicsOrderBy$ {
    /** @deprecated use `GetAllDemographicsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllDemographicsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllDemographicsRequest$inboundSchema: z.ZodType<GetAllDemographicsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllDemographicsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllDemographicsRequest$outboundSchema: z.ZodType<GetAllDemographicsRequest$Outbound, z.ZodTypeDef, GetAllDemographicsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllDemographicsRequest$ {
    /** @deprecated use `GetAllDemographicsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllDemographicsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllDemographicsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllDemographicsRequest$Outbound, z.ZodTypeDef, GetAllDemographicsRequest>;
    /** @deprecated use `GetAllDemographicsRequest$Outbound` instead. */
    type Outbound = GetAllDemographicsRequest$Outbound;
}
export declare function getAllDemographicsRequestToJSON(getAllDemographicsRequest: GetAllDemographicsRequest): string;
export declare function getAllDemographicsRequestFromJSON(jsonString: string): SafeParseResult<GetAllDemographicsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllDemographicsResponseBody$inboundSchema: z.ZodType<GetAllDemographicsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllDemographicsResponseBody$Outbound = {
    demographics: Array<components.Demographics$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllDemographicsResponseBody$outboundSchema: z.ZodType<GetAllDemographicsResponseBody$Outbound, z.ZodTypeDef, GetAllDemographicsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllDemographicsResponseBody$ {
    /** @deprecated use `GetAllDemographicsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllDemographicsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllDemographicsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllDemographicsResponseBody$Outbound, z.ZodTypeDef, GetAllDemographicsResponseBody>;
    /** @deprecated use `GetAllDemographicsResponseBody$Outbound` instead. */
    type Outbound = GetAllDemographicsResponseBody$Outbound;
}
export declare function getAllDemographicsResponseBodyToJSON(getAllDemographicsResponseBody: GetAllDemographicsResponseBody): string;
export declare function getAllDemographicsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllDemographicsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllDemographicsResponse$inboundSchema: z.ZodType<GetAllDemographicsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllDemographicsResponse$Outbound = {
    Result: GetAllDemographicsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllDemographicsResponse$outboundSchema: z.ZodType<GetAllDemographicsResponse$Outbound, z.ZodTypeDef, GetAllDemographicsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllDemographicsResponse$ {
    /** @deprecated use `GetAllDemographicsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllDemographicsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllDemographicsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllDemographicsResponse$Outbound, z.ZodTypeDef, GetAllDemographicsResponse>;
    /** @deprecated use `GetAllDemographicsResponse$Outbound` instead. */
    type Outbound = GetAllDemographicsResponse$Outbound;
}
export declare function getAllDemographicsResponseToJSON(getAllDemographicsResponse: GetAllDemographicsResponse): string;
export declare function getAllDemographicsResponseFromJSON(jsonString: string): SafeParseResult<GetAllDemographicsResponse, SDKValidationError>;
//# sourceMappingURL=getalldemographics.d.ts.map