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 GetAllCategoriesOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllCategoriesOrderBy = ClosedEnum<typeof GetAllCategoriesOrderBy>;
export type GetAllCategoriesRequest = {
    /**
     * 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?: GetAllCategoriesOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Successful response containing a collection of categories
 */
export type GetAllCategoriesResponseBody = {
    categories: Array<components.Category>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllCategoriesResponse = {
    result: GetAllCategoriesResponseBody;
};
/** @internal */
export declare const GetAllCategoriesOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllCategoriesOrderBy>;
/** @internal */
export declare const GetAllCategoriesOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllCategoriesOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllCategoriesOrderBy$ {
    /** @deprecated use `GetAllCategoriesOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllCategoriesOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllCategoriesRequest$inboundSchema: z.ZodType<GetAllCategoriesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllCategoriesRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllCategoriesRequest$outboundSchema: z.ZodType<GetAllCategoriesRequest$Outbound, z.ZodTypeDef, GetAllCategoriesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllCategoriesRequest$ {
    /** @deprecated use `GetAllCategoriesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllCategoriesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllCategoriesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllCategoriesRequest$Outbound, z.ZodTypeDef, GetAllCategoriesRequest>;
    /** @deprecated use `GetAllCategoriesRequest$Outbound` instead. */
    type Outbound = GetAllCategoriesRequest$Outbound;
}
export declare function getAllCategoriesRequestToJSON(getAllCategoriesRequest: GetAllCategoriesRequest): string;
export declare function getAllCategoriesRequestFromJSON(jsonString: string): SafeParseResult<GetAllCategoriesRequest, SDKValidationError>;
/** @internal */
export declare const GetAllCategoriesResponseBody$inboundSchema: z.ZodType<GetAllCategoriesResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllCategoriesResponseBody$Outbound = {
    categories: Array<components.Category$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllCategoriesResponseBody$outboundSchema: z.ZodType<GetAllCategoriesResponseBody$Outbound, z.ZodTypeDef, GetAllCategoriesResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllCategoriesResponseBody$ {
    /** @deprecated use `GetAllCategoriesResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllCategoriesResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllCategoriesResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllCategoriesResponseBody$Outbound, z.ZodTypeDef, GetAllCategoriesResponseBody>;
    /** @deprecated use `GetAllCategoriesResponseBody$Outbound` instead. */
    type Outbound = GetAllCategoriesResponseBody$Outbound;
}
export declare function getAllCategoriesResponseBodyToJSON(getAllCategoriesResponseBody: GetAllCategoriesResponseBody): string;
export declare function getAllCategoriesResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllCategoriesResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllCategoriesResponse$inboundSchema: z.ZodType<GetAllCategoriesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllCategoriesResponse$Outbound = {
    Result: GetAllCategoriesResponseBody$Outbound;
};
/** @internal */
export declare const GetAllCategoriesResponse$outboundSchema: z.ZodType<GetAllCategoriesResponse$Outbound, z.ZodTypeDef, GetAllCategoriesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllCategoriesResponse$ {
    /** @deprecated use `GetAllCategoriesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllCategoriesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllCategoriesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllCategoriesResponse$Outbound, z.ZodTypeDef, GetAllCategoriesResponse>;
    /** @deprecated use `GetAllCategoriesResponse$Outbound` instead. */
    type Outbound = GetAllCategoriesResponse$Outbound;
}
export declare function getAllCategoriesResponseToJSON(getAllCategoriesResponse: GetAllCategoriesResponse): string;
export declare function getAllCategoriesResponseFromJSON(jsonString: string): SafeParseResult<GetAllCategoriesResponse, SDKValidationError>;
//# sourceMappingURL=getallcategories.d.ts.map