/** * Represents the size of entropy in characters for different security levels */ export declare enum EntropyBits { Bits128 = 14, Bits160 = 21, Bits256 = 42 } /** * Configuration options for API key generation and handling */ export interface Config { hyphens: boolean; entropySize: EntropyBits; } /** * Option function type for configuring API key behavior */ export type Option = (c: Config) => void; /** * Constants used throughout the API key system */ export declare const Constants: { readonly KEY_LENGTH_WITH_HYPHENS: 31; readonly KEY_LENGTH_WITHOUT_HYPHENS: 28; readonly KEY_PART_LENGTH: 7; readonly KEY_HYPHEN_COUNT: 3; readonly KEY_PARTS_COUNT: 4; readonly UUID_LENGTH: 36; readonly CHECKSUM_LENGTH: 8; readonly ENTROPY_BYTES_MULTIPLIER: number; readonly INITIAL_ENTROPY_BYTES: 32; }; /** * Configuration options for API key generation */ export declare const Options: { readonly With128BitEntropy: Option; readonly With160BitEntropy: Option; readonly With256BitEntropy: Option; }; /** * Default configuration settings */ export declare const DefaultConfig: Config;