@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>
10 lines • 833 B
TypeScript
import * as z from "zod/v3";
export declare function bytesToBase64(u8arr: Uint8Array): string;
export declare function bytesFromBase64(encoded: string): Uint8Array;
export declare function stringToBytes(str: string): Uint8Array;
export declare function stringFromBytes(u8arr: Uint8Array): string;
export declare function stringToBase64(str: string): string;
export declare function stringFromBase64(b64str: string): string;
export declare const zodOutbound: z.ZodUnion<[z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>, z.ZodEffects<z.ZodString, Uint8Array<ArrayBufferLike>, string>]>;
export declare const zodInbound: z.ZodUnion<[z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>, z.ZodEffects<z.ZodString, Uint8Array<ArrayBufferLike>, string>]>;
//# sourceMappingURL=base64.d.ts.map