/** * action_ref atomic primitive. * * action_ref = SHA-256(JCS({agent_id, action_type, scope, timestamp_ms})) * * The action_ref is the AlgoVoi-authored canonical action identifier used * across the substrate. Two emitters describing the same logical action * produce the same action_ref by construction. * * - timestamp_ms is enforced as an epoch-millisecond integer per Substrate * Rule 1. Float, ISO 8601 strings, and negative values are rejected. * - agent_id, action_type, scope are required non-empty strings. * - The preimage shape is fixed at exactly these four fields. */ export declare class ActionRefError extends Error { constructor(message: string); } export interface ActionRefObject { agent_id: string; action_type: string; scope: string; timestamp_ms: number; } export interface ActionRefInput { agent_id: string; action_type: string; scope: string; timestamp_ms: number; } /** * Return the validated preimage object for action_ref. * * The four-field shape is fixed by the substrate; extending it produces * a different primitive, not a different action_ref. */ export declare function actionRefObject(input: ActionRefInput): ActionRefObject; /** * Return the lowercase hex SHA-256 action_ref. * * action_ref = SHA-256(JCS({agent_id, action_type, scope, timestamp_ms})) * * Output is plain hex (no algorithm prefix). */ export declare function actionRef(input: ActionRefInput): string; //# sourceMappingURL=action-ref.d.ts.map