export { canonicalize, hexEncode } from '@orangecheck/stamp-core/canonical'; import { Scope } from './scope.mjs'; import { ActionCanonicalInput, ActionEnvelope, DelegationEnvelope, RevocationEnvelope, DelegationCanonicalInput, RevocationCanonicalInput, SubdelegationCanonicalInput } from './types.mjs'; declare function canonicalizeScopes(scopes: string[]): string[]; declare function parseAndCanonicalizeScopes(scopes: string[]): { canonical: string[]; parsed: Scope[]; }; declare function delegationCanonicalMessage(input: DelegationCanonicalInput): string; declare function actionCanonicalMessage(input: ActionCanonicalInput): string; declare function revocationCanonicalMessage(input: RevocationCanonicalInput): string; declare function subdelegationCanonicalMessage(input: SubdelegationCanonicalInput): string; declare function delegationCanonicalBytes(input: DelegationCanonicalInput): Uint8Array; declare function actionCanonicalBytes(input: ActionCanonicalInput): Uint8Array; declare function revocationCanonicalBytes(input: RevocationCanonicalInput): Uint8Array; declare function subdelegationCanonicalBytes(input: SubdelegationCanonicalInput): Uint8Array; declare function computeDelegationId(input: DelegationCanonicalInput): string; declare function computeActionId(input: ActionCanonicalInput): string; declare function computeRevocationId(input: RevocationCanonicalInput): string; declare function computeSubdelegationId(input: SubdelegationCanonicalInput): string; declare function canonicalizeDelegation(env: DelegationEnvelope): string; declare function canonicalizeAction(env: ActionEnvelope): string; declare function canonicalizeRevocation(env: RevocationEnvelope): string; declare function canonicalDelegationBytes(env: DelegationEnvelope): Uint8Array; declare function canonicalActionBytes(env: ActionEnvelope): Uint8Array; declare function canonicalRevocationBytes(env: RevocationEnvelope): Uint8Array; declare function sha256Hex(bytes: Uint8Array): string; export { actionCanonicalBytes, actionCanonicalMessage, canonicalActionBytes, canonicalDelegationBytes, canonicalRevocationBytes, canonicalizeAction, canonicalizeDelegation, canonicalizeRevocation, canonicalizeScopes, computeActionId, computeDelegationId, computeRevocationId, computeSubdelegationId, delegationCanonicalBytes, delegationCanonicalMessage, parseAndCanonicalizeScopes, revocationCanonicalBytes, revocationCanonicalMessage, sha256Hex, subdelegationCanonicalBytes, subdelegationCanonicalMessage };