export declare class Key { private readonly value; constructor(value: string); /** * Creates a Key from a string value with validation */ static parse(key: string): Key; /** * Gets the string representation of the key */ toString(): string; /** * Validates if a string meets the key format requirements */ static isValid(key: string): boolean; /** * Validates a single part of the key */ private static isValidPart; /** * Converts the key to a UUID string */ toUUID(): string; /** * Decodes the key to its original UUID format */ private decode; /** * Gets the parts of the key based on whether it has hyphens */ private getParts; private static encodePart; /** * Creates a Key from a UUID string */ static encode(uuid: string, withHyphens?: boolean): Key; }