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 Files */ export declare const FilesSortBy: { readonly UpdatedAt: "updated_at"; readonly Name: "name"; }; /** * The field on which to sort the Files */ export type FilesSortBy = ClosedEnum; export type FilesSort = { /** * The field on which to sort the Files */ by?: FilesSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const FilesSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FilesSortBy$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 FilesSortBy$ { /** @deprecated use `FilesSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly UpdatedAt: "updated_at"; readonly Name: "name"; }>; /** @deprecated use `FilesSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly UpdatedAt: "updated_at"; readonly Name: "name"; }>; } /** @internal */ export declare const FilesSort$inboundSchema: z.ZodType; /** @internal */ export type FilesSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const FilesSort$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 FilesSort$ { /** @deprecated use `FilesSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FilesSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FilesSort$Outbound` instead. */ type Outbound = FilesSort$Outbound; } export declare function filesSortToJSON(filesSort: FilesSort): string; export declare function filesSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filessort.d.ts.map