import type { IContextIdHandler } from "@twin.org/context"; /** * Context ID handler that treats context identifiers as DIDs. */ export declare class DidContextIdHandler implements IContextIdHandler { /** * Runtime name for the class. */ static readonly CLASS_NAME: string; /** * The class name of the component. * @returns The class name. */ className(): string; /** * Get the short form of the DID which is the last part. * @param value The full context id value. * @returns Short form string. */ short(value: string): string; /** * The long form version of the context ID, expanded from a short version. * @param value The short form context ID value. * @returns The long form version of the context ID. */ long(value: string): string; /** * Guard the value ensuring it is a valid DID. * @param value The value to guard. * @throws GeneralError if the value is not a valid DID. */ guard(value: string): void; }