/** * Value coercion helpers for Prisma scalar columns. * Prisma.Decimal is used when available at runtime; otherwise string/number pass through. */ export type DecimalInput = string | number | null; export type JsonInput = string | number | boolean | null | { [k: string]: JsonInput; } | JsonInput[]; export declare function toDecimalInput(value: unknown): DecimalInput; export declare function asJsonInput(value: unknown): Exclude; export declare function asString(value: unknown): string; export declare function asNullableString(value: unknown): string | null; export declare function asNullableNumber(value: unknown): number | null; export declare function asNullableDate(value: unknown): Date | null; export declare function asStringArray(value: unknown): string[]; export declare function asBool(value: unknown, fallback?: boolean): boolean; //# sourceMappingURL=coercion.d.ts.map