UNPKG

@tensorify.io/sdk

Version:

TypeScript SDK for developing Tensorify plugins with V2-Alpha definition/execution pattern and legacy compatibility

18 lines (17 loc) 1.15 kB
import * as core from "../core/index.cjs"; import * as schemas from "./schemas.cjs"; export interface ZodCoercedString<T = unknown> extends schemas._ZodString<core.$ZodStringInternals<T>> { } export declare function string<T = unknown>(params?: string | core.$ZodStringParams): ZodCoercedString<T>; export interface ZodCoercedNumber<T = unknown> extends schemas._ZodNumber<core.$ZodNumberInternals<T>> { } export declare function number<T = unknown>(params?: string | core.$ZodNumberParams): ZodCoercedNumber<T>; export interface ZodCoercedBoolean<T = unknown> extends schemas._ZodBoolean<core.$ZodBooleanInternals<T>> { } export declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): ZodCoercedBoolean<T>; export interface ZodCoercedBigInt<T = unknown> extends schemas._ZodBigInt<core.$ZodBigIntInternals<T>> { } export declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): ZodCoercedBigInt<T>; export interface ZodCoercedDate<T = unknown> extends schemas._ZodDate<core.$ZodDateInternals<T>> { } export declare function date<T = unknown>(params?: string | core.$ZodDateParams): ZodCoercedDate<T>;