import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SortDirection } from "./sortdirection.js"; /** * The field on which to sort the Comments */ export declare const CommentsSortBy: { readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; /** * The field on which to sort the Comments */ export type CommentsSortBy = ClosedEnum; export type CommentsSort = { /** * The field on which to sort the Comments */ by?: CommentsSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const CommentsSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CommentsSortBy$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CommentsSortBy$ { /** @deprecated use `CommentsSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }>; /** @deprecated use `CommentsSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }>; } /** @internal */ export declare const CommentsSort$inboundSchema: z.ZodType; /** @internal */ export type CommentsSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const CommentsSort$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CommentsSort$ { /** @deprecated use `CommentsSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CommentsSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CommentsSort$Outbound` instead. */ type Outbound = CommentsSort$Outbound; } export declare function commentsSortToJSON(commentsSort: CommentsSort): string; export declare function commentsSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=commentssort.d.ts.map