@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
25 lines • 1.07 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export declare const Tag: {
readonly Symbol: "symbol";
};
export type Tag = ClosedEnum<typeof Tag>;
/**
* an object to be decoded into a globally shared symbol
*/
export type PropertyKey3 = {
tag: Tag;
key: string;
};
export type PropertyKey = PropertyKey3 | string | number;
/** @internal */
export declare const Tag$inboundSchema: z.ZodNativeEnum<typeof Tag>;
/** @internal */
export declare const PropertyKey3$inboundSchema: z.ZodType<PropertyKey3, z.ZodTypeDef, unknown>;
export declare function propertyKey3FromJSON(jsonString: string): SafeParseResult<PropertyKey3, SDKValidationError>;
/** @internal */
export declare const PropertyKey$inboundSchema: z.ZodType<PropertyKey, z.ZodTypeDef, unknown>;
export declare function propertyKeyFromJSON(jsonString: string): SafeParseResult<PropertyKey, SDKValidationError>;
//# sourceMappingURL=propertykey.d.ts.map