@better-auth/utils
Version:
A collection of utilities for better-auth
17 lines (14 loc) • 503 B
text/typescript
import { T as TypedArray } from './shared/utils.0ddb0a7a.mjs';
declare const base64: {
encode(data: ArrayBuffer | TypedArray | string, options?: {
padding?: boolean;
}): string;
decode(data: string | ArrayBuffer | TypedArray): Uint8Array<ArrayBufferLike>;
};
declare const base64Url: {
encode(data: ArrayBuffer | TypedArray | string, options?: {
padding?: boolean;
}): string;
decode(data: string): Uint8Array<ArrayBufferLike>;
};
export { base64, base64Url };