/**
 * RootId - Value Object for root identity
 *
 * A root is the namespace boundary. It uniquely identifies an administrative domain.
 * With DNS hierarchical addressing, roots can contain dots (e.g., 'com.nimbletec.richard.santomauro').
 *
 * This Value Object enforces:
 * - Validation (non-empty, valid characters)
 * - Equality semantics (two RootId with same value are equal)
 */
export declare const ROOT_ID_PATTERN: RegExp;
export declare class RootId {
    private readonly _value;
    private constructor();
    /**
     * Create a RootId from a string.
     * Throws if the value is invalid.
     */
    static of(value: string): RootId;
    /**
     * Create a RootId, returning null if invalid instead of throwing.
     */
    static tryOf(value: string): RootId | null;
    /**
     * Get the raw string value.
     */
    get value(): string;
    /**
     * Check equality with another RootId.
     */
    equals(other: RootId | null | undefined): boolean;
    /**
     * For use as Map/Set key or in comparisons.
     */
    toString(): string;
    /**
     * JSON serialization support.
     */
    toJSON(): string;
}
/**
 * Type guard to check if a value is a RootId.
 */
export declare function isRootId(value: unknown): value is RootId;
/**
 * @deprecated Use ROOT_ID_PATTERN instead.
 */
export declare const REALM_ID_PATTERN: RegExp;
/**
 * @deprecated Use RootId instead.
 */
export declare const RealmId: typeof RootId;
/** @deprecated Use RootId instead. */
export type RealmId = RootId;
/**
 * @deprecated Use isRootId instead.
 */
export declare const isRealmId: typeof isRootId;
/**
 * @deprecated Use isValidRootId instead.
 */
export declare function isValidRealmId(value: string): boolean;
/**
 * Check if a string is a valid root ID.
 */
export declare function isValidRootId(value: string): boolean;
//# sourceMappingURL=root_id.d.ts.map