@pacspace-io/check 0.5.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +36 -2
  3. package/dist/check.d.ts +6 -1
  4. package/dist/cli.d.ts +5 -1
  5. package/dist/cli.js +2496 -380
  6. package/dist/index.js +518 -91
  7. package/dist/inputs.txt +12 -0
  8. package/dist/open-io.d.ts +38 -0
  9. package/dist/open.d.ts +16 -15
  10. package/dist/records-crypto-types/records/flag-threads-v1.d.ts +53 -0
  11. package/dist/records-crypto-types/records/labels.d.ts +37 -0
  12. package/dist/records-crypto-types/records/link-handle-v1.d.ts +16 -0
  13. package/dist/records-crypto-types/records/reader-crypto-v1.d.ts +198 -0
  14. package/dist/records-crypto-types/records/reader-link-v1.d.ts +164 -0
  15. package/dist/records-crypto-types/records/shared-record-ack-v2.d.ts +72 -0
  16. package/dist/records-crypto-types/records/trail-index-v1.d.ts +89 -0
  17. package/dist/records-crypto-types/records/trail-rule.d.ts +54 -0
  18. package/dist/records-crypto-types/records-crypto/asymmetric/ack-flag-notes-v1.d.ts +57 -0
  19. package/dist/records-crypto-types/records-crypto/asymmetric/flag-notes-v1.d.ts +55 -0
  20. package/dist/records-crypto-types/records-crypto/asymmetric/index.d.ts +3 -0
  21. package/dist/records-crypto-types/records-crypto/asymmetric/reader-wraps-v1.d.ts +83 -0
  22. package/dist/records-crypto-types/records-crypto/disclosure-envelope-v1.d.ts +1 -1
  23. package/dist/records-crypto-types/records-crypto/index.d.ts +1 -1
  24. package/dist/records-crypto-types/records-crypto/records-encryption-v1.d.ts +1 -0
  25. package/dist/records-crypto.js +547 -66
  26. package/dist/report.d.ts +20 -1
  27. package/dist/shared-record-link.d.ts +121 -0
  28. package/dist/shared-record-words.d.ts +97 -0
  29. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ import type { TrailRuleV1 } from './trail-rule';
2
+ export declare const TRAIL_INDEX_RECORD_TYPE = "machine-action-record";
3
+ export declare const TRAIL_INDEX_ACTOR = "pacspace";
4
+ export declare const TRAIL_RULE_SALT_BYTES = 32;
5
+ export type TrailIndexKind = 'rule-committed' | 'rule-changed' | 'scope-reworded' | 'record-joined' | 'record-removed' | 'entry-erased' | 'legal-hold-placed' | 'legal-hold-released';
6
+ export interface PayloadDigestV1 {
7
+ alg: 'sha-256';
8
+ digest: string;
9
+ byteLength: string;
10
+ }
11
+ export interface TrailIndexContentV1 {
12
+ title: string;
13
+ kind: TrailIndexKind;
14
+ occurredAt: string;
15
+ actorId: string;
16
+ payloads: PayloadDigestV1[];
17
+ description?: string;
18
+ note?: string;
19
+ references?: Array<{
20
+ recordKey: string;
21
+ seq: number;
22
+ }>;
23
+ }
24
+ export declare function trailIndexEntityId(trailId: string): string;
25
+ export declare function trailEventIdempotencyKey(trailId: string, seq: number): string;
26
+ export declare function payloadDigestV1(value: unknown): PayloadDigestV1;
27
+ export declare function trailRuleDigestInput(rule: TrailRuleV1, salt: Uint8Array): {
28
+ v: 1;
29
+ rule: TrailRuleV1;
30
+ salt: string;
31
+ };
32
+ export interface TrailJoinFactsV1 {
33
+ recordKey: string;
34
+ lastSeq: number;
35
+ lastSeal: string;
36
+ closedBy: 'code' | 'timeout';
37
+ number: number;
38
+ ruleVersion: number;
39
+ }
40
+ export declare function trailIndexTime(at: Date): string;
41
+ export declare function ruleCommittedContentV1(input: {
42
+ scope: string;
43
+ rule: TrailRuleV1;
44
+ salt: Uint8Array;
45
+ at: Date;
46
+ }): TrailIndexContentV1;
47
+ export declare function ruleChangedContentV1(input: {
48
+ rule: TrailRuleV1;
49
+ salt: Uint8Array;
50
+ reason: string;
51
+ at: Date;
52
+ }): TrailIndexContentV1;
53
+ export declare function scopeRewordedContentV1(input: {
54
+ scope: string;
55
+ reason: string;
56
+ at: Date;
57
+ }): TrailIndexContentV1;
58
+ export declare function recordJoinedContentV1(input: TrailJoinFactsV1 & {
59
+ at: Date;
60
+ }): TrailIndexContentV1;
61
+ export declare function recordRemovedContentV1(input: {
62
+ number: number;
63
+ joinedEvent: number;
64
+ recordKey: string;
65
+ lastSeq: number;
66
+ reason: string;
67
+ at: Date;
68
+ }): TrailIndexContentV1;
69
+ export declare function entryErasedContentV1(input: {
70
+ number: number;
71
+ recordKey: string;
72
+ seq: number;
73
+ reason: string;
74
+ at: Date;
75
+ }): TrailIndexContentV1;
76
+ export declare function legalHoldPlacedContentV1(input: {
77
+ holdId: string;
78
+ on: 'whole' | {
79
+ number: number;
80
+ recordKey: string;
81
+ };
82
+ reason: string;
83
+ at: Date;
84
+ }): TrailIndexContentV1;
85
+ export declare function legalHoldReleasedContentV1(input: {
86
+ holdId: string;
87
+ reason: string;
88
+ at: Date;
89
+ }): TrailIndexContentV1;
@@ -0,0 +1,54 @@
1
+ import { type BlindedLabels, type PlainLabels } from './labels';
2
+ export interface TrailRuleV1 {
3
+ v: 1;
4
+ sources: string[];
5
+ labels: PlainLabels | BlindedLabels;
6
+ from: string;
7
+ earlier: boolean;
8
+ }
9
+ export interface TrailRuleRecord {
10
+ sourceId: string | null;
11
+ openedOn: string;
12
+ labels: unknown;
13
+ }
14
+ export declare const TRAIL_RULE_WORDS: {
15
+ readonly sourcesInvalid: "Choose at least one source in this environment. Nothing was committed.";
16
+ readonly labelsUnreadable: "Write each label as a name and a value. Nothing was committed.";
17
+ readonly dayUnreadable: "Write the date as a day, a month and a year, for example 1 September 2026.";
18
+ readonly labelsOverLimit: "Labels are up to 10 key=value pairs. Keys are lowercase.";
19
+ readonly labelsBlindedHere: "This workspace encrypts its records, so a rule names labels blinded in the browser. Nothing was committed.";
20
+ readonly labelsPlainHere: "This workspace keeps its records in plain form, so a rule names labels as a name and a value. Nothing was committed.";
21
+ };
22
+ export declare function parseRuleDay(input: unknown): string | null;
23
+ export declare function formatRuleDay(iso: string): string;
24
+ export declare function ruleMatches(rule: TrailRuleV1, record: TrailRuleRecord): boolean;
25
+ export declare function ruleSame(a: TrailRuleV1, b: TrailRuleV1): boolean;
26
+ export interface RuleSaySource {
27
+ id: string;
28
+ name: string;
29
+ environment: string;
30
+ }
31
+ export declare function ruleSay(rule: TrailRuleV1, sources: readonly RuleSaySource[], labelsText?: string): string;
32
+ export type TrailRuleCheck = {
33
+ ok: true;
34
+ rule: TrailRuleV1;
35
+ } | {
36
+ ok: false;
37
+ code: 'TRAIL_RULE_INVALID';
38
+ message: string;
39
+ };
40
+ export interface TrailRuleInput {
41
+ sources?: unknown;
42
+ labels?: unknown;
43
+ from?: unknown;
44
+ earlier?: unknown;
45
+ }
46
+ export declare function checkTrailRule(input: TrailRuleInput, options: {
47
+ encrypted: boolean;
48
+ }): TrailRuleCheck;
49
+ export interface SqlFragment {
50
+ strings: string[];
51
+ values: unknown[];
52
+ }
53
+ export declare function ruleToSql(rule: TrailRuleV1, alias?: string): SqlFragment;
54
+ export declare function sqlFragmentText(fragment: SqlFragment, offset?: number): string;
@@ -0,0 +1,57 @@
1
+ import { type SealedNoteV1 } from '../../records/reader-crypto-v1';
2
+ import type { KeyWrapV1, WorkspaceSeedV1 } from './records-asymmetric-v1';
3
+ export interface AckFlagNoteDeviceV1 {
4
+ deviceId: string;
5
+ xwingPublicKey: Uint8Array;
6
+ }
7
+ export interface AckFlagNoteKeysV1 {
8
+ devices: Array<{
9
+ deviceId: string;
10
+ wrap: KeyWrapV1;
11
+ }>;
12
+ workspace: KeyWrapV1;
13
+ }
14
+ export declare function sealAckFlagNotesV1(input: {
15
+ handle: string;
16
+ checkRef: string;
17
+ flags: ReadonlyArray<{
18
+ record: number;
19
+ entry: number;
20
+ text: string;
21
+ }>;
22
+ note?: string | null;
23
+ devices: readonly AckFlagNoteDeviceV1[];
24
+ workspace: Uint8Array;
25
+ }): Promise<{
26
+ notes: SealedNoteV1[];
27
+ note: SealedNoteV1 | null;
28
+ keys: AckFlagNoteKeysV1;
29
+ }>;
30
+ export declare function openAckNoteV1(input: {
31
+ note: unknown;
32
+ wrap: unknown;
33
+ seed: WorkspaceSeedV1;
34
+ handle: string;
35
+ checkRef: string;
36
+ }): Promise<{
37
+ ok: true;
38
+ text: string;
39
+ } | {
40
+ ok: false;
41
+ code: string;
42
+ }>;
43
+ export declare function openAckFlagNoteV1(input: {
44
+ note: unknown;
45
+ wrap: unknown;
46
+ seed: WorkspaceSeedV1;
47
+ handle: string;
48
+ checkRef: string;
49
+ record: number;
50
+ entry: number;
51
+ }): Promise<{
52
+ ok: true;
53
+ text: string;
54
+ } | {
55
+ ok: false;
56
+ code: string;
57
+ }>;
@@ -0,0 +1,55 @@
1
+ import { type FlagDraftsV1 } from '../../records/flag-threads-v1';
2
+ import { type NoteNameV1, type SealedNoteV1 } from '../../records/reader-crypto-v1';
3
+ import type { KeyWrapV1, WorkspaceSeedV1 } from './records-asymmetric-v1';
4
+ export interface FlagNoteDeviceV1 {
5
+ deviceId: string;
6
+ xwingPublicKey: Uint8Array;
7
+ }
8
+ export interface SealedFlagNoteV1 {
9
+ note: SealedNoteV1;
10
+ wraps: Array<{
11
+ deviceId: string;
12
+ wrap: KeyWrapV1;
13
+ }>;
14
+ }
15
+ export declare function sealFlagNoteV1(input: {
16
+ text: string;
17
+ name: NoteNameV1;
18
+ devices: readonly FlagNoteDeviceV1[];
19
+ workspace: Uint8Array | null;
20
+ }): Promise<SealedFlagNoteV1 & {
21
+ workspace: KeyWrapV1 | null;
22
+ }>;
23
+ export declare function openFlagNoteV1(input: {
24
+ note: unknown;
25
+ wrap: unknown;
26
+ seed: WorkspaceSeedV1;
27
+ name: NoteNameV1;
28
+ }): Promise<{
29
+ ok: true;
30
+ text: string;
31
+ } | {
32
+ ok: false;
33
+ code: string;
34
+ }>;
35
+ export declare function sealFlagDraftsV1(input: {
36
+ drafts: FlagDraftsV1;
37
+ handle: string;
38
+ reference: string;
39
+ version: number;
40
+ devices: readonly FlagNoteDeviceV1[];
41
+ }): Promise<SealedFlagNoteV1>;
42
+ export declare function openFlagDraftsV1(input: {
43
+ note: unknown;
44
+ wrap: unknown;
45
+ seed: WorkspaceSeedV1;
46
+ handle: string;
47
+ reference: string;
48
+ version: number;
49
+ }): Promise<{
50
+ ok: true;
51
+ drafts: FlagDraftsV1;
52
+ } | {
53
+ ok: false;
54
+ code: string;
55
+ }>;
@@ -1 +1,4 @@
1
1
  export { RECORDS_ASYMMETRIC_LABELS_V1, KEY_WRAP_SUITE_V1, KEY_WRAP_SUITES_V1, WORKSPACE_SEED_BYTES_V1, WORKSPACE_PUBLIC_KEY_BYTES_V1, KEY_WRAP_ENC_BYTES_V1, KEY_WRAP_CT_BYTES_V1, SEED_WRAP_CT_BYTES_V1, MLDSA65_SEED_BYTES_V1, HOLDER_KEY_CODE_DIGITS_V1, RecordsAsymmetricError, WorkspaceSeedV1, MldsaSigningKeyV1, exportWorkspaceSeedBytesV1, publicKeyIdV1, holderKeyCodeV1, workspaceSeedFromBytesV1, generateWorkspaceSeedV1, sealSeedWrapV1, readSeedWrapShapeV1, openSeedWrapV1, keyWrapInfoV1, wrapRecordsKeyV1, wrapRecordKeyV1, wrapDisclosureKeyV1, readKeyWrapShapeV1, unwrapRecordsKeyV1, unwrapRecordKeyV1, unwrapDisclosureKeyV1, KEY_WRAP_OWNER_V2, keyWrapInfoV2, wrapRecordsKeyV2, wrapRecordKeyV2, wrapDisclosureKeyV2, readKeyWrapShapeV2, unwrapRecordsKeyV2, unwrapRecordKeyV2, unwrapDisclosureKeyV2, ROTATION_CHALLENGE_ID_V1, ROTATION_CHALLENGE_ENC_BYTES_V1, rotationChallengeV1, rotationProofV1, rotationProofHashV1, mldsaSigningKeyFromSeedV1, generateMldsaSigningKeyV1, exportMldsaSeedBytesV1, signMldsa65V1, verifyMldsa65V1, type KeyWrapPurposeV1, type KeyWrapBindingV1, type KeyWrapV1, type KeyWrapBindingV2, type KeyWrapV2, type RotationBindingV1, type SeedWrapV1, type RecordsAsymmetricCodeV1, } from './records-asymmetric-v1';
2
+ export { makeDeviceKeysV1, devicePublicV1, wrapLinkKeyV1, unwrapLinkKeyV1, wrapAnswerKeyV1, unwrapAnswerKeyV1, wrapNoteKeyV1, unwrapNoteKeyV1, signApprovalV1, signDeviceMessageV1, verifyDeviceMessageV1, type DeviceKeysV1, } from './reader-wraps-v1';
3
+ export { sealAckFlagNotesV1, openAckFlagNoteV1, openAckNoteV1, type AckFlagNoteDeviceV1, type AckFlagNoteKeysV1 } from './ack-flag-notes-v1';
4
+ export { sealFlagNoteV1, openFlagNoteV1, sealFlagDraftsV1, openFlagDraftsV1, type FlagNoteDeviceV1, type SealedFlagNoteV1, } from './flag-notes-v1';
@@ -0,0 +1,83 @@
1
+ import { type NoteNameV1 } from '../../records/reader-crypto-v1';
2
+ import type { SigningPublicKeyJwkV1 } from '../../records/signed-acknowledgment-v1';
3
+ import { MldsaSigningKeyV1, WorkspaceSeedV1, type KeyWrapV1 } from './records-asymmetric-v1';
4
+ export interface DeviceKeysV1 {
5
+ xwing: WorkspaceSeedV1;
6
+ mldsa: MldsaSigningKeyV1;
7
+ p256Jwk: SigningPublicKeyJwkV1;
8
+ deviceId: string;
9
+ code: string;
10
+ }
11
+ export declare function makeDeviceKeysV1(input: {
12
+ xwingSeed: Uint8Array;
13
+ mldsaSeed: Uint8Array;
14
+ p256Jwk: SigningPublicKeyJwkV1;
15
+ }): Promise<DeviceKeysV1>;
16
+ export declare function devicePublicV1(keys: DeviceKeysV1): {
17
+ xwingPublicKey: string;
18
+ p256Jwk: SigningPublicKeyJwkV1;
19
+ mldsaPublicKey: string;
20
+ };
21
+ export declare function wrapLinkKeyV1(publicKey: Uint8Array, linkKey: Uint8Array, handle: string, epoch: number): Promise<KeyWrapV1>;
22
+ export declare function unwrapLinkKeyV1(input: {
23
+ seed: WorkspaceSeedV1;
24
+ wrap: unknown;
25
+ handle: string;
26
+ epoch: number;
27
+ }): Promise<{
28
+ ok: false;
29
+ code: "KEY_WRAP_MALFORMED" | "KEY_WRAP_SUITE" | "KEY_WRAP_WRONG_HOLDER" | "KEY_WRAP_AUTH_FAILED" | "KEY_WRAP_BINDING_INVALID";
30
+ } | {
31
+ ok: true;
32
+ disclosureKey: Uint8Array;
33
+ }>;
34
+ export declare function wrapAnswerKeyV1(publicKey: Uint8Array, answerKey: Uint8Array, handle: string, requestRef: string): Promise<KeyWrapV1>;
35
+ export declare function unwrapAnswerKeyV1(input: {
36
+ seed: WorkspaceSeedV1;
37
+ wrap: unknown;
38
+ handle: string;
39
+ requestRef: string;
40
+ }): Promise<{
41
+ ok: false;
42
+ code: "KEY_WRAP_MALFORMED" | "KEY_WRAP_SUITE" | "KEY_WRAP_WRONG_HOLDER" | "KEY_WRAP_AUTH_FAILED" | "KEY_WRAP_BINDING_INVALID";
43
+ } | {
44
+ ok: true;
45
+ disclosureKey: Uint8Array;
46
+ }>;
47
+ export declare function wrapNoteKeyV1(publicKey: Uint8Array, noteKey: Uint8Array, name: NoteNameV1): Promise<KeyWrapV1>;
48
+ export declare function unwrapNoteKeyV1(input: {
49
+ seed: WorkspaceSeedV1;
50
+ wrap: unknown;
51
+ name: NoteNameV1;
52
+ }): Promise<{
53
+ ok: false;
54
+ code: "KEY_WRAP_MALFORMED" | "KEY_WRAP_SUITE" | "KEY_WRAP_WRONG_HOLDER" | "KEY_WRAP_AUTH_FAILED" | "KEY_WRAP_BINDING_INVALID";
55
+ } | {
56
+ ok: true;
57
+ disclosureKey: Uint8Array;
58
+ }>;
59
+ export declare function signApprovalV1(input: {
60
+ p256PrivateKey: CryptoKey;
61
+ mldsa: MldsaSigningKeyV1;
62
+ handle: string;
63
+ epoch: number;
64
+ newDeviceId: string;
65
+ }): Promise<{
66
+ signature: string;
67
+ mldsaSignature: string;
68
+ }>;
69
+ export declare function signDeviceMessageV1(input: {
70
+ p256PrivateKey: CryptoKey;
71
+ mldsa: MldsaSigningKeyV1;
72
+ message: string;
73
+ }): Promise<{
74
+ signature: string;
75
+ mldsaSignature: string;
76
+ }>;
77
+ export declare function verifyDeviceMessageV1(input: {
78
+ p256Jwk: SigningPublicKeyJwkV1;
79
+ mldsaPublicKey: Uint8Array;
80
+ message: string;
81
+ signature: unknown;
82
+ mldsaSignature: unknown;
83
+ }): Promise<boolean>;
@@ -30,7 +30,7 @@ export declare function encryptDisclosureV1(input: {
30
30
  }): Promise<string>;
31
31
  export declare function decryptDisclosureV1(input: {
32
32
  envelope: string;
33
- key: Uint8Array;
33
+ key: Uint8Array | CryptoKey;
34
34
  handle: string;
35
35
  }): Promise<{
36
36
  ok: true;
@@ -8,6 +8,6 @@ export * from './record-hash-v3';
8
8
  export * from './record-disclosure-v1';
9
9
  export * from './disclosure-envelope-v1';
10
10
  export * from './wrap-shapes-v1';
11
- export { RECORDS_ENCRYPTION_LABELS_V1, RECORDS_ENCRYPTION_PAD_BLOCK_V1, RECORD_ENTRY_PLAINTEXT_MAX_BYTES_V1, RECORD_ENTRY_CIPHERTEXT_MAX_BYTES_V1, RECORD_ENTRY_CIPHERTEXT_MAX_CHARS_V1, RECORD_ENTRY_BODY_MAX_BYTES_V1, RECORDS_KEYRING_MAX_BYTES_V1, RECORDS_KEYRING_SCHEMA_V1, WORKSPACE_SECRET_BYTES_V1, RecordsEncryptionError, RecordsIdKeyV1, RecordsKeyV1, RecordsWrapKeyV1, RecordKeyV1, RecordsContentTagKeyV2, RECORDS_CONTENT_TAG_LABELS_V2, RecordsKeyringV1, exportKeyBytesV1, generateWorkspaceSecretV1, deriveRecordsIdKeyV1, deriveRecordsKeysV1, importWorkspaceSecretKeyV1, deriveRecordsIdKeyFromBaseV1, deriveRecordsKeysFromBaseV1, recordKeyOfV1, recordKeyFromBytesV1, recordsKeyFromBytesV1, wireRecordIdV1, wireReferenceIdV1, contentTagV1, contentTagV2, recordEntryPlaintextV1, padRecordEntryV1, sealRecordEntryV1, readRecordEnvelopeShapeV1, openRecordEntryEnvelopeV1, encryptedWriteBodyBytesV1, checkEncryptedWriteSizeV1, entryRefsMatchV1, localRecordsKeyProviderV1, serializeRecordsKeyringFileV1, parseRecordsKeyringFileV1, type RecordsEncryptionCodeV1, type RecordsRefusalV1, type RecordEntryEnvelopeV1, type OpenRecordEntryResultV1, type RecordsKeyProviderV1, type RecordsBaseKeyProviderV1, } from './records-encryption-v1';
11
+ export { RECORDS_ENCRYPTION_LABELS_V1, RECORDS_ENCRYPTION_PAD_BLOCK_V1, RECORD_ENTRY_PLAINTEXT_MAX_BYTES_V1, RECORD_ENTRY_CIPHERTEXT_MAX_BYTES_V1, RECORD_ENTRY_CIPHERTEXT_MAX_CHARS_V1, RECORD_ENTRY_BODY_MAX_BYTES_V1, RECORDS_KEYRING_MAX_BYTES_V1, RECORDS_KEYRING_SCHEMA_V1, WORKSPACE_SECRET_BYTES_V1, RecordsEncryptionError, RecordsIdKeyV1, RecordsKeyV1, RecordsWrapKeyV1, RecordKeyV1, RecordsContentTagKeyV2, RECORDS_CONTENT_TAG_LABELS_V2, RecordsKeyringV1, exportKeyBytesV1, generateWorkspaceSecretV1, deriveRecordsIdKeyV1, deriveRecordsKeysV1, importWorkspaceSecretKeyV1, deriveRecordsIdKeyFromBaseV1, deriveRecordsKeysFromBaseV1, recordKeyOfV1, recordKeyFromBytesV1, recordsKeyFromBytesV1, wireRecordIdV1, wireReferenceIdV1, blindedLabelV1, contentTagV1, contentTagV2, recordEntryPlaintextV1, padRecordEntryV1, sealRecordEntryV1, readRecordEnvelopeShapeV1, openRecordEntryEnvelopeV1, encryptedWriteBodyBytesV1, checkEncryptedWriteSizeV1, entryRefsMatchV1, localRecordsKeyProviderV1, serializeRecordsKeyringFileV1, parseRecordsKeyringFileV1, type RecordsEncryptionCodeV1, type RecordsRefusalV1, type RecordEntryEnvelopeV1, type OpenRecordEntryResultV1, type RecordsKeyProviderV1, type RecordsBaseKeyProviderV1, } from './records-encryption-v1';
12
12
  export declare function blindedDigest(source: PayloadByteSource, value: Uint8Array): Promise<PayloadRefV1>;
13
13
  export declare function newBlindingValue(): Promise<Uint8Array>;
@@ -82,6 +82,7 @@ export declare function recordsKeyFromBytesV1(bytes: Uint8Array, version: number
82
82
  export declare function recordKeyFromBytesV1(bytes: Uint8Array, recordsKeyId?: string | null): Promise<RecordKeyV1>;
83
83
  export declare function wireRecordIdV1(idKey: RecordsIdKeyV1, recordType: string, entityId: string): Promise<string>;
84
84
  export declare function wireReferenceIdV1(idKey: RecordsIdKeyV1, referenceId: string): Promise<string>;
85
+ export declare function blindedLabelV1(idKey: RecordsIdKeyV1, name: string, value: string): Promise<string>;
85
86
  export declare function contentTagV1(idKey: RecordsIdKeyV1, input: {
86
87
  recordType: string;
87
88
  wireRecordId: string;