import z from 'zod'; /** @internal */ export declare function _setOrPush(newValue: unknown, currentValue: T[] | T | undefined, isArray: boolean): T; /** A value that can be stringified using one of the util functions. */ export type Parseable = string | number | boolean | null | undefined | Record; /** A type that makes all properties of an object required, recursively. */ export type DeepRequired = { [P in keyof T]-?: T[P] extends object ? DeepRequired : NonNullable; }; /** * Concatenates strings, arrays of strings, and objects with truthy values. * * It works recursively, so adding an array of strings to an array of strings will work. * * Falsy values are ignored, so pasing `undefined` or `null` will not add anything to the result, * and using a boolean will only add it if it is `true`. Using 0 will also not add anything. */ export declare function strConcat(...strs: (Parseable | Parseable[])[]): string; /** * Indents a string or an array of strings. Concatenates them all using `strConcat`. */ export declare function indent(str: Parseable | Parseable[], indent?: number): string; /** @internal */ export declare function _zodEnumFromObjKeys(obj: Record): z.ZodEnum<{ [k_1 in K]: k_1; } extends infer T ? { [k in keyof T]: T[k]; } : never>; /** @internal */ export declare function _deepMerge(obj1: T1, obj2: T2): NonNullable & NonNullable; export declare function capitalize(str: string): string; /** * Splits a name into words, using camelCase, PascalCase, snake_case, and kebab-case or * regular spaced strings. */ export declare function splitWords(str: string): string[]; export declare function toCamelCase(str: string): string; export declare function toPascalCase(str: string): string; export declare function getErrorMessage(err: unknown): string; //# sourceMappingURL=utils.d.ts.map