/** * Describes the various sizes of encoded cryptographic primitives including character and byte counts. * SAIDs are the only cryptographic primitive in this library. These code counts are used for what is * called the fully-qualified forms of an encoded SAID. This includes: * - The fully qualified Base64 form (qb64) * - The fully qualified Base2 (binary - qb2) form */ interface CodeCounts { /** * Hard Size (hs) - character count of fixed part of code size */ hs: number; /** * Soft Size (ss) - character count of variable part of code size */ ss: number; /** * Full Size (fs) - character count of the concatenation of the fixed (hard), variable (soft), and value parts of an * encoded primitive. * Will be -1 for variable size codes to indicate that the size is not fixed. * * fs = hs + ss + vs */ fs: number; /** * Lead Size (ls) - byte count of pre-padded, raw binary zero bytes. */ ls: number; } /** * An entry in the sizes table describing derivation code character and byte counts. */ declare class Sizeage implements CodeCounts { hs: number; ss: number; fs: number; ls: number; constructor(hs: number, ss: number, fs: number, ls: number); } /** * Valid size codes for SAID derivations keyed by derivation code letter. */ export declare const Sizes: Map; export {};