import { z } from 'zod'; import { color, moduleLink, uuid } from './SimpleTypes.zod'; /** * @deprecated */ export interface IModuleLink { module_name: string; module_id: UUID; } export declare type ModuleLink = z.infer; export declare type ModuleObjectOptional = ModuleLink | boolean; export declare type UUID = z.infer; export declare type Decimal = number; export declare type UNIXTimestamp = number; export declare type Hex = string; export declare type HexColor = Hex; export declare type SemanticVersion = string; export declare type HTML = string; export declare type XML = string; export declare type ISODATE = string; export declare type COLOR = z.infer; export declare type HANDLEBARS_STRING = string; export declare type ComparisonOperator = EnumLiteralsOf; export declare const ComparisonOperator: Readonly<{ readonly '==': "=="; readonly '!=': "!="; readonly '>': ">"; readonly '<': "<"; readonly '<=': "<="; readonly '>=': ">="; }>; export declare enum AttachmentType { JPG = "JPG", PNG = "PNG", DOC = "DOC", DOCX = "DOCX", XLSX = "XLSX", TXT = "TXT", PDF = "PDF", MP3 = "MP3", MP4 = "MP4", UNKNOWN = "UNKNOWN" } export declare type SortDirection = EnumLiteralsOf; export declare const SortDirection: Readonly<{ readonly ASC: "asc"; readonly DESC: "desc"; }>; export declare type StringOr = string | T; export declare type Nullable = T | null; export declare type Omit = Pick>; export declare type EnumLiteralsOf> = T[keyof T]; export declare type UnionFromTuple = T extends Array ? U : never; export declare const Enum: (...args: T) => Readonly<{ [P in UnionFromTuple]: P; }>; export declare type EnumOf>> = T[keyof T]; export declare type Params any> = F extends (...args: infer A) => any ? A : never; export declare type Head = T extends [any, ...any[]] ? T[0] : never; export declare type Tail = ((...t: T) => any) extends (_: any, ...tail: infer TT) => any ? TT : []; export declare type HasTail = T extends [] | [any] ? false : true; export declare type WithoutId = Omit; export declare type AtleastId = Partial> & { id: UUID; }; export declare type Without = { [P in Exclude]?: never; }; export declare type XOR = T | U extends object ? (Without & U) | (Without & T) : T | U; export declare type KeysMatching = { [K in keyof T]-?: T[K] extends V ? K : never; }[keyof T]; export declare type ReduceKeysTo = Pick>; export declare type AsStrings = { [K in keyof T]: string; };