/**
 * Internal helpers for tracked-change runtime refs and shared anchor keys.
 *
 * Public tracked-change addresses use canonical IDs, while runtime refs use
 * story-local raw IDs. This module intentionally stays on the runtime side of
 * that boundary; it does not attempt to convert contract addresses.
 */
/**
 * Internal runtime form of a tracked-change identity.
 *
 * - `storyKey` — compact, cache-friendly story identity (see `story-key.ts`).
 * - `rawId` — the raw tracked-change mark ID local to the owning story editor.
 *
 * Story runtimes are editor-scoped and revision-tracking is per-editor, so
 * `rawId` is story-local by construction. This ref captures that scoping
 * explicitly so sidebar position maps, accept/reject routers, and the
 * TrackedChangeIndex can key on the full (storyKey, rawId) tuple without
 * ambiguity.
 */
export interface TrackedChangeRuntimeRef {
    storyKey: string;
    rawId: string;
}
/** Prefix for tracked-change anchor keys in shared position maps. */
export declare const TRACKED_CHANGE_ANCHOR_KEY_PREFIX = "tc::";
/** Prefix for comment anchor keys in shared position maps. */
export declare const COMMENT_ANCHOR_KEY_PREFIX = "comment::";
/**
 * Builds the canonical shared-map anchor key for a tracked-change runtime ref.
 *
 * Format: `tc::<storyKey>::<rawId>`.
 */
export declare function makeTrackedChangeAnchorKey(ref: TrackedChangeRuntimeRef): string;
/**
 * Builds the canonical shared-map anchor key for a comment id.
 *
 * Format: `comment::<id>`.
 */
export declare function makeCommentAnchorKey(commentId: string): string;
/**
 * Returns true when the given key is a canonical tracked-change anchor key.
 */
export declare function isTrackedChangeAnchorKey(key: string): boolean;
/**
 * Returns true when the given key is a canonical comment anchor key.
 */
export declare function isCommentAnchorKey(key: string): boolean;
/**
 * Parses a canonical tracked-change anchor key back into a {@link TrackedChangeRuntimeRef}.
 *
 * Returns `null` when the key is not a tracked-change anchor key or when
 * the format is malformed.
 */
export declare function parseTrackedChangeAnchorKey(key: string): TrackedChangeRuntimeRef | null;
//# sourceMappingURL=tracked-change-runtime-ref.d.ts.map