1 | /**
|
2 | * @name base64Validate
|
3 | * @summary Validates a base64 value.
|
4 | * @description
|
5 | * Validates that the supplied value is valid base64
|
6 | */
|
7 | export declare const base64Validate: (value?: unknown, ipfsCompat?: boolean) => value is string;
|
8 | /**
|
9 | * @name isBase64
|
10 | * @description Checks if the input is in base64, returning true/false
|
11 | */
|
12 | export declare const isBase64: (value?: unknown, ipfsCompat?: boolean) => value is string;
|
13 | /**
|
14 | * @name base64Decode
|
15 | * @summary Decodes a base64 value.
|
16 | * @description
|
17 | * From the provided input, decode the base64 and return the result as an `Uint8Array`.
|
18 | */
|
19 | export declare const base64Decode: (value: string, ipfsCompat?: boolean) => Uint8Array;
|
20 | /**
|
21 | * @name base64Encode
|
22 | * @summary Creates a base64 value.
|
23 | * @description
|
24 | * From the provided input, create the base64 and return the result as a string.
|
25 | */
|
26 | export declare const base64Encode: (value: import("@polkadot/util/types").U8aLike, ipfsCompat?: boolean) => string;
|