/** * BrightChain Constants Module * * This module provides BrightChain-specific constants for blockchain operations. * For ECIES/encryption constants, import directly from @digitaldefiance/ecies-lib: * import { ECIES, CHECKSUM, ENCRYPTION } from '@digitaldefiance/ecies-lib'; * * @see {@link https://github.com/Digital-Defiance/ecies-lib} for base constants * @module constants */ import { IConstants as ISuiteCoreConstants } from '@digitaldefiance/suite-core-lib'; import { IBCFECConsts, IBlockHeaderConsts, ICBLConsts, IConstants, IFontawesomePickerConstants, ISealingConsts, ISiteConsts, IThemeColors, ITupleConsts } from './interfaces/constants'; /** * Site-specific constants for BrightChain */ export declare const SITE: ISiteConsts; /** * BrightChain theme colors */ export declare const THEME_COLORS: IThemeColors; /** * Constants for structured block headers */ export declare const BLOCK_HEADER: IBlockHeaderConsts; /** * Structured block type identifiers (second byte after magic prefix) * These apply only to blocks with the 0xBC magic prefix */ export declare enum StructuredBlockType { /** * Constituent Block List - references to other blocks */ CBL = 2, /** * SuperCBL - hierarchical CBL referencing sub-CBLs */ SuperCBL = 3, /** * Extended CBL - CBL with file name and MIME type */ ExtendedCBL = 4, /** * Message CBL - CBL for messaging system */ MessageCBL = 5, /** * Vault CBL - CBL with vault header and entry property records */ VaultCBL = 6, /** * Tarball CBL - archive container bundling multiple entries into a single CBL */ TarballCBL = 7 } /** * Constants for CBL (Constituent Block List) */ export declare const CBL: ICBLConsts; /** * Constants for OFFS whitener generation */ export declare const OFFS_CACHE_PERCENTAGE: 0.7; /** * Constants for FEC (Forward Error Correction) */ export declare const BC_FEC: IBCFECConsts; /** * Constants for tuple operations * These values affect how tuples are constructed and processed */ export declare const TUPLE: ITupleConsts; /** * Constants for sealing operations */ export declare const SEALING: ISealingConsts; /** * Constants for vault and password validation */ export declare const VALIDATION: { readonly VAULT_NAME_MIN_LENGTH: 3; readonly VAULT_NAME_MAX_LENGTH: 50; readonly PASSWORD_MIN_LENGTH: 12; }; export declare const BRIGHTHUB: IFontawesomePickerConstants; export declare const BRIGHTCHAT: IFontawesomePickerConstants; /** * BrightChain constants object extending base constants from @digitaldefiance/ecies-lib. * Only includes BrightChain-specific constants not provided by upstream. */ export declare const CONSTANTS: IConstants; export declare const CoreOverrides: { Site: string; SiteTagline: string; SiteDescription: string; }; export declare const CoreConstants: ISuiteCoreConstants; export type { ISuiteCoreConstants }; export default CONSTANTS; //# sourceMappingURL=constants.d.ts.map