import type RTValueTypeBase from "./value-type.js"; export type Primitive = string | number | boolean | undefined | null; export type FilePath = `/${string}`; export type EventCallbackMeta = Record; export type EventCallbacks = { [K in keyof T]: (data: T[K]) => void; }; export type ErrorMeta = { name?: string; statusCode: number; internalStatusCode: number; message: string; }; export type CustomKeyFormat = Value extends '' ? Value extends `${StringOption}${infer A}` ? CustomKeyFormat : never : never; export type ErrorCodeChar = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '0' | '/' | '_'; export type ErrorCode = CustomKeyFormat; export type CustomErrorCode = Record; export type Excluded = Function | readonly unknown[] | Date | RegExp | Map | Set; export type NestedPath = { [K in keyof T & string]: T[K] extends infer A extends object ? A extends Excluded ? [...U, K] : NestedPath : [...U, K]; }[keyof T & string]; export type NestedValue> = U extends [infer A extends keyof T, ...infer Rest extends string[]] ? Rest extends [] ? T[A] : T[A] extends infer V extends object ? V extends Excluded ? never : NestedValue> : never : never; export type ObjectDefinition = { [K in keyof T]: ReturnType['chainable']>; }; //# sourceMappingURL=types.d.ts.map