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