@fractalshq/sync 0.0.4 → 0.0.6

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.
@@ -0,0 +1,203 @@
1
+ type DistributionStatus = "draft" | "committed" | "clawed_back" | "hidden";
2
+ interface Distribution {
3
+ id: string;
4
+ orgId: string;
5
+ mint: string;
6
+ status: DistributionStatus;
7
+ createdAt: string;
8
+ updatedAt?: string;
9
+ totalUnlocked?: string;
10
+ totalLocked?: string;
11
+ }
12
+ interface ClaimAllocation {
13
+ distributorId: string;
14
+ claimant: string;
15
+ amountUnlocked: string;
16
+ amountLocked?: string;
17
+ proof?: string[];
18
+ idx?: number;
19
+ }
20
+ interface ClaimTransactionInstruction {
21
+ programId: string;
22
+ keys: Array<{
23
+ pubkey: string;
24
+ isSigner: boolean;
25
+ isWritable: boolean;
26
+ }>;
27
+ data: string;
28
+ }
29
+ interface ClaimTransactionRequest {
30
+ distributionId: string;
31
+ claimant: string;
32
+ index?: number;
33
+ proof?: string[];
34
+ unlockedAmount?: number;
35
+ lockedAmount?: number;
36
+ mint?: string;
37
+ distributorPda?: string;
38
+ rpcEndpoint?: string;
39
+ }
40
+ interface ClaimTransactionResponse {
41
+ label: string;
42
+ instructions: ClaimTransactionInstruction[];
43
+ transaction?: string;
44
+ }
45
+ interface ClaimCommitRequest {
46
+ distributionId: string;
47
+ signature: string;
48
+ }
49
+ interface ClaimableDistribution {
50
+ distributorId: string;
51
+ distributorName?: string;
52
+ tokenMint: string;
53
+ tokenSymbol?: string;
54
+ owedAmount: string;
55
+ status: "claimable" | "vesting" | "locked";
56
+ fees?: {
57
+ fixedFee?: string;
58
+ solFee?: string;
59
+ };
60
+ }
61
+
62
+ type Fetcher = typeof fetch;
63
+ declare const DEFAULT_BASE_PATH: string;
64
+ interface SyncRequestOptions {
65
+ basePath?: string;
66
+ fetcher?: Fetcher;
67
+ }
68
+ interface SyncRequestConfig {
69
+ basePath: string;
70
+ fetcher: Fetcher;
71
+ }
72
+ declare function resolveRequestConfig(options?: SyncRequestOptions): SyncRequestConfig;
73
+ declare class SyncReactError extends Error {
74
+ readonly status: number;
75
+ readonly code?: string | undefined;
76
+ readonly details?: unknown | undefined;
77
+ constructor(status: number, code?: string | undefined, details?: unknown | undefined);
78
+ }
79
+ declare function requestJSON<T>(config: SyncRequestConfig, path: string, init?: RequestInit): Promise<T>;
80
+ declare function resolveFetcher(custom?: Fetcher): Fetcher;
81
+ declare function sanitizeBasePath(path: string): string;
82
+ declare function buildUrl(basePath: string, path: string): string;
83
+ declare function isAbsoluteUrl(path: string): boolean;
84
+ declare function isRelativeUrl(path: string): boolean;
85
+
86
+ interface ListDistributionsRequest {
87
+ orgId?: string;
88
+ status?: DistributionStatus;
89
+ mint?: string;
90
+ limit?: number;
91
+ cursor?: string;
92
+ }
93
+ interface ListDistributionsResponse {
94
+ items: Distribution[];
95
+ nextCursor: string | null;
96
+ }
97
+ interface DistributionRecipientInput {
98
+ address: string;
99
+ shareBps: number;
100
+ }
101
+ interface DistributionInstruction {
102
+ programId: string;
103
+ keys: Array<{
104
+ pubkey: string;
105
+ isSigner: boolean;
106
+ isWritable: boolean;
107
+ }>;
108
+ data: string;
109
+ }
110
+ interface DistributionPersistenceWarning {
111
+ id?: string;
112
+ reason: string;
113
+ message: string;
114
+ distributionId?: string;
115
+ detail?: unknown;
116
+ exportJson?: unknown;
117
+ }
118
+ interface DistributionTransactionPayload {
119
+ distributionId: string;
120
+ label?: string;
121
+ instructions: DistributionInstruction[];
122
+ transaction?: string;
123
+ preview?: unknown;
124
+ exportJson?: unknown;
125
+ persistenceWarning?: DistributionPersistenceWarning;
126
+ title?: string | null;
127
+ [key: string]: unknown;
128
+ }
129
+ interface BuildDistributionTransactionRequest {
130
+ owner: string;
131
+ amountUi: number;
132
+ recipients: DistributionRecipientInput[];
133
+ mint: string;
134
+ distributionId?: string;
135
+ rpcEndpoint?: string;
136
+ title?: string;
137
+ [key: string]: unknown;
138
+ }
139
+ type CreateDistributionRequest = BuildDistributionTransactionRequest;
140
+ type BuildDistributionTransactionResponse = DistributionTransactionPayload;
141
+ type CreateDistributionResponse = DistributionTransactionPayload;
142
+ interface CommitDistributionRequest {
143
+ transaction?: string;
144
+ signedTransactionBase64?: string;
145
+ signature?: string;
146
+ exportJson?: unknown;
147
+ [key: string]: unknown;
148
+ }
149
+ interface CommitDistributionResponse {
150
+ success: boolean;
151
+ distributorId: string;
152
+ signature?: string;
153
+ status?: DistributionStatus | string;
154
+ alreadyCommitted?: boolean;
155
+ [key: string]: unknown;
156
+ }
157
+ interface CommitDistributionSignatureInput extends CommitDistributionRequest {
158
+ distributionId: string;
159
+ }
160
+ type BuildClaimTransactionRequest = ClaimTransactionRequest;
161
+ type BuildClaimTransactionResponse = ClaimTransactionResponse;
162
+ interface CommitClaimRequest {
163
+ distributionId: string;
164
+ signature?: string;
165
+ transaction?: string;
166
+ signedTransactionBase64?: string;
167
+ claimantPubkey?: string;
168
+ [key: string]: unknown;
169
+ }
170
+ interface CommitClaimResponse {
171
+ ok: boolean;
172
+ }
173
+ interface ClaimableResponse {
174
+ wallet: string;
175
+ claimable: ClaimableDistribution[];
176
+ }
177
+ interface ClaimHistoryItem {
178
+ distributorId: string;
179
+ signature: string;
180
+ claimedAmount: string;
181
+ claimedAt: string;
182
+ }
183
+ interface ClaimHistoryResponse {
184
+ items: ClaimHistoryItem[];
185
+ nextCursor: string | null;
186
+ }
187
+ interface HealthResponse {
188
+ status: string;
189
+ timestamp: string;
190
+ }
191
+ interface PrepareDistributionDraftRequest {
192
+ projectId: string;
193
+ mint: string;
194
+ title?: string;
195
+ }
196
+ interface PrepareDistributionDraftResponse {
197
+ id: string;
198
+ }
199
+ declare function buildDistributionTransaction(input: BuildDistributionTransactionRequest, options?: SyncRequestOptions): Promise<DistributionTransactionPayload>;
200
+ declare function commitDistributionSignature(input: CommitDistributionSignatureInput, options?: SyncRequestOptions): Promise<CommitDistributionResponse>;
201
+ declare function prepareDistributionDraft(input: PrepareDistributionDraftRequest, options?: SyncRequestOptions): Promise<PrepareDistributionDraftResponse>;
202
+
203
+ export { commitDistributionSignature as A, type BuildDistributionTransactionRequest as B, type ClaimAllocation as C, type DistributionStatus as D, prepareDistributionDraft as E, type Fetcher as F, DEFAULT_BASE_PATH as G, type HealthResponse as H, type SyncRequestConfig as I, resolveRequestConfig as J, SyncReactError as K, type ListDistributionsRequest as L, requestJSON as M, resolveFetcher as N, sanitizeBasePath as O, type PrepareDistributionDraftRequest as P, buildUrl as Q, isAbsoluteUrl as R, type SyncRequestOptions as S, isRelativeUrl as T, type Distribution as a, type ClaimTransactionInstruction as b, type ClaimTransactionRequest as c, type ClaimTransactionResponse as d, type ClaimCommitRequest as e, type ClaimableDistribution as f, type ListDistributionsResponse as g, type DistributionRecipientInput as h, type DistributionInstruction as i, type DistributionPersistenceWarning as j, type DistributionTransactionPayload as k, type CreateDistributionRequest as l, type BuildDistributionTransactionResponse as m, type CreateDistributionResponse as n, type CommitDistributionRequest as o, type CommitDistributionResponse as p, type CommitDistributionSignatureInput as q, type BuildClaimTransactionRequest as r, type BuildClaimTransactionResponse as s, type CommitClaimRequest as t, type CommitClaimResponse as u, type ClaimableResponse as v, type ClaimHistoryItem as w, type ClaimHistoryResponse as x, type PrepareDistributionDraftResponse as y, buildDistributionTransaction as z };
@@ -0,0 +1,203 @@
1
+ type DistributionStatus = "draft" | "committed" | "clawed_back" | "hidden";
2
+ interface Distribution {
3
+ id: string;
4
+ orgId: string;
5
+ mint: string;
6
+ status: DistributionStatus;
7
+ createdAt: string;
8
+ updatedAt?: string;
9
+ totalUnlocked?: string;
10
+ totalLocked?: string;
11
+ }
12
+ interface ClaimAllocation {
13
+ distributorId: string;
14
+ claimant: string;
15
+ amountUnlocked: string;
16
+ amountLocked?: string;
17
+ proof?: string[];
18
+ idx?: number;
19
+ }
20
+ interface ClaimTransactionInstruction {
21
+ programId: string;
22
+ keys: Array<{
23
+ pubkey: string;
24
+ isSigner: boolean;
25
+ isWritable: boolean;
26
+ }>;
27
+ data: string;
28
+ }
29
+ interface ClaimTransactionRequest {
30
+ distributionId: string;
31
+ claimant: string;
32
+ index?: number;
33
+ proof?: string[];
34
+ unlockedAmount?: number;
35
+ lockedAmount?: number;
36
+ mint?: string;
37
+ distributorPda?: string;
38
+ rpcEndpoint?: string;
39
+ }
40
+ interface ClaimTransactionResponse {
41
+ label: string;
42
+ instructions: ClaimTransactionInstruction[];
43
+ transaction?: string;
44
+ }
45
+ interface ClaimCommitRequest {
46
+ distributionId: string;
47
+ signature: string;
48
+ }
49
+ interface ClaimableDistribution {
50
+ distributorId: string;
51
+ distributorName?: string;
52
+ tokenMint: string;
53
+ tokenSymbol?: string;
54
+ owedAmount: string;
55
+ status: "claimable" | "vesting" | "locked";
56
+ fees?: {
57
+ fixedFee?: string;
58
+ solFee?: string;
59
+ };
60
+ }
61
+
62
+ type Fetcher = typeof fetch;
63
+ declare const DEFAULT_BASE_PATH: string;
64
+ interface SyncRequestOptions {
65
+ basePath?: string;
66
+ fetcher?: Fetcher;
67
+ }
68
+ interface SyncRequestConfig {
69
+ basePath: string;
70
+ fetcher: Fetcher;
71
+ }
72
+ declare function resolveRequestConfig(options?: SyncRequestOptions): SyncRequestConfig;
73
+ declare class SyncReactError extends Error {
74
+ readonly status: number;
75
+ readonly code?: string | undefined;
76
+ readonly details?: unknown | undefined;
77
+ constructor(status: number, code?: string | undefined, details?: unknown | undefined);
78
+ }
79
+ declare function requestJSON<T>(config: SyncRequestConfig, path: string, init?: RequestInit): Promise<T>;
80
+ declare function resolveFetcher(custom?: Fetcher): Fetcher;
81
+ declare function sanitizeBasePath(path: string): string;
82
+ declare function buildUrl(basePath: string, path: string): string;
83
+ declare function isAbsoluteUrl(path: string): boolean;
84
+ declare function isRelativeUrl(path: string): boolean;
85
+
86
+ interface ListDistributionsRequest {
87
+ orgId?: string;
88
+ status?: DistributionStatus;
89
+ mint?: string;
90
+ limit?: number;
91
+ cursor?: string;
92
+ }
93
+ interface ListDistributionsResponse {
94
+ items: Distribution[];
95
+ nextCursor: string | null;
96
+ }
97
+ interface DistributionRecipientInput {
98
+ address: string;
99
+ shareBps: number;
100
+ }
101
+ interface DistributionInstruction {
102
+ programId: string;
103
+ keys: Array<{
104
+ pubkey: string;
105
+ isSigner: boolean;
106
+ isWritable: boolean;
107
+ }>;
108
+ data: string;
109
+ }
110
+ interface DistributionPersistenceWarning {
111
+ id?: string;
112
+ reason: string;
113
+ message: string;
114
+ distributionId?: string;
115
+ detail?: unknown;
116
+ exportJson?: unknown;
117
+ }
118
+ interface DistributionTransactionPayload {
119
+ distributionId: string;
120
+ label?: string;
121
+ instructions: DistributionInstruction[];
122
+ transaction?: string;
123
+ preview?: unknown;
124
+ exportJson?: unknown;
125
+ persistenceWarning?: DistributionPersistenceWarning;
126
+ title?: string | null;
127
+ [key: string]: unknown;
128
+ }
129
+ interface BuildDistributionTransactionRequest {
130
+ owner: string;
131
+ amountUi: number;
132
+ recipients: DistributionRecipientInput[];
133
+ mint: string;
134
+ distributionId?: string;
135
+ rpcEndpoint?: string;
136
+ title?: string;
137
+ [key: string]: unknown;
138
+ }
139
+ type CreateDistributionRequest = BuildDistributionTransactionRequest;
140
+ type BuildDistributionTransactionResponse = DistributionTransactionPayload;
141
+ type CreateDistributionResponse = DistributionTransactionPayload;
142
+ interface CommitDistributionRequest {
143
+ transaction?: string;
144
+ signedTransactionBase64?: string;
145
+ signature?: string;
146
+ exportJson?: unknown;
147
+ [key: string]: unknown;
148
+ }
149
+ interface CommitDistributionResponse {
150
+ success: boolean;
151
+ distributorId: string;
152
+ signature?: string;
153
+ status?: DistributionStatus | string;
154
+ alreadyCommitted?: boolean;
155
+ [key: string]: unknown;
156
+ }
157
+ interface CommitDistributionSignatureInput extends CommitDistributionRequest {
158
+ distributionId: string;
159
+ }
160
+ type BuildClaimTransactionRequest = ClaimTransactionRequest;
161
+ type BuildClaimTransactionResponse = ClaimTransactionResponse;
162
+ interface CommitClaimRequest {
163
+ distributionId: string;
164
+ signature?: string;
165
+ transaction?: string;
166
+ signedTransactionBase64?: string;
167
+ claimantPubkey?: string;
168
+ [key: string]: unknown;
169
+ }
170
+ interface CommitClaimResponse {
171
+ ok: boolean;
172
+ }
173
+ interface ClaimableResponse {
174
+ wallet: string;
175
+ claimable: ClaimableDistribution[];
176
+ }
177
+ interface ClaimHistoryItem {
178
+ distributorId: string;
179
+ signature: string;
180
+ claimedAmount: string;
181
+ claimedAt: string;
182
+ }
183
+ interface ClaimHistoryResponse {
184
+ items: ClaimHistoryItem[];
185
+ nextCursor: string | null;
186
+ }
187
+ interface HealthResponse {
188
+ status: string;
189
+ timestamp: string;
190
+ }
191
+ interface PrepareDistributionDraftRequest {
192
+ projectId: string;
193
+ mint: string;
194
+ title?: string;
195
+ }
196
+ interface PrepareDistributionDraftResponse {
197
+ id: string;
198
+ }
199
+ declare function buildDistributionTransaction(input: BuildDistributionTransactionRequest, options?: SyncRequestOptions): Promise<DistributionTransactionPayload>;
200
+ declare function commitDistributionSignature(input: CommitDistributionSignatureInput, options?: SyncRequestOptions): Promise<CommitDistributionResponse>;
201
+ declare function prepareDistributionDraft(input: PrepareDistributionDraftRequest, options?: SyncRequestOptions): Promise<PrepareDistributionDraftResponse>;
202
+
203
+ export { commitDistributionSignature as A, type BuildDistributionTransactionRequest as B, type ClaimAllocation as C, type DistributionStatus as D, prepareDistributionDraft as E, type Fetcher as F, DEFAULT_BASE_PATH as G, type HealthResponse as H, type SyncRequestConfig as I, resolveRequestConfig as J, SyncReactError as K, type ListDistributionsRequest as L, requestJSON as M, resolveFetcher as N, sanitizeBasePath as O, type PrepareDistributionDraftRequest as P, buildUrl as Q, isAbsoluteUrl as R, type SyncRequestOptions as S, isRelativeUrl as T, type Distribution as a, type ClaimTransactionInstruction as b, type ClaimTransactionRequest as c, type ClaimTransactionResponse as d, type ClaimCommitRequest as e, type ClaimableDistribution as f, type ListDistributionsResponse as g, type DistributionRecipientInput as h, type DistributionInstruction as i, type DistributionPersistenceWarning as j, type DistributionTransactionPayload as k, type CreateDistributionRequest as l, type BuildDistributionTransactionResponse as m, type CreateDistributionResponse as n, type CommitDistributionRequest as o, type CommitDistributionResponse as p, type CommitDistributionSignatureInput as q, type BuildClaimTransactionRequest as r, type BuildClaimTransactionResponse as s, type CommitClaimRequest as t, type CommitClaimResponse as u, type ClaimableResponse as v, type ClaimHistoryItem as w, type ClaimHistoryResponse as x, type PrepareDistributionDraftResponse as y, buildDistributionTransaction as z };
@@ -0,0 +1,204 @@
1
+ type DistributionStatus = "draft" | "committed" | "clawed_back" | "hidden";
2
+ interface Distribution {
3
+ id: string;
4
+ orgId: string;
5
+ projectId: string;
6
+ mint: string;
7
+ status: DistributionStatus;
8
+ createdAt: string;
9
+ updatedAt?: string;
10
+ totalUnlocked?: string;
11
+ totalLocked?: string;
12
+ }
13
+ interface ClaimAllocation {
14
+ distributorId: string;
15
+ claimant: string;
16
+ amountUnlocked: string;
17
+ amountLocked?: string;
18
+ proof?: string[];
19
+ idx?: number;
20
+ }
21
+ interface ClaimTransactionInstruction {
22
+ programId: string;
23
+ keys: Array<{
24
+ pubkey: string;
25
+ isSigner: boolean;
26
+ isWritable: boolean;
27
+ }>;
28
+ data: string;
29
+ }
30
+ interface ClaimTransactionRequest {
31
+ distributionId: string;
32
+ claimant: string;
33
+ index?: number;
34
+ proof?: string[];
35
+ unlockedAmount?: number;
36
+ lockedAmount?: number;
37
+ mint?: string;
38
+ distributorPda?: string;
39
+ rpcEndpoint?: string;
40
+ }
41
+ interface ClaimTransactionResponse {
42
+ label: string;
43
+ instructions: ClaimTransactionInstruction[];
44
+ transaction?: string;
45
+ }
46
+ interface ClaimCommitRequest {
47
+ distributionId: string;
48
+ signature: string;
49
+ }
50
+ interface ClaimableDistribution {
51
+ distributorId: string;
52
+ distributorName?: string;
53
+ tokenMint: string;
54
+ tokenSymbol?: string;
55
+ owedAmount: string;
56
+ status: "claimable" | "vesting" | "locked";
57
+ fees?: {
58
+ fixedFee?: string;
59
+ solFee?: string;
60
+ };
61
+ }
62
+
63
+ type Fetcher = typeof fetch;
64
+ declare const DEFAULT_BASE_PATH: string;
65
+ interface SyncRequestOptions {
66
+ basePath?: string;
67
+ fetcher?: Fetcher;
68
+ }
69
+ interface SyncRequestConfig {
70
+ basePath: string;
71
+ fetcher: Fetcher;
72
+ }
73
+ declare function resolveRequestConfig(options?: SyncRequestOptions): SyncRequestConfig;
74
+ declare class SyncReactError extends Error {
75
+ readonly status: number;
76
+ readonly code?: string | undefined;
77
+ readonly details?: unknown | undefined;
78
+ constructor(status: number, code?: string | undefined, details?: unknown | undefined);
79
+ }
80
+ declare function requestJSON<T>(config: SyncRequestConfig, path: string, init?: RequestInit): Promise<T>;
81
+ declare function resolveFetcher(custom?: Fetcher): Fetcher;
82
+ declare function sanitizeBasePath(path: string): string;
83
+ declare function buildUrl(basePath: string, path: string): string;
84
+ declare function isAbsoluteUrl(path: string): boolean;
85
+ declare function isRelativeUrl(path: string): boolean;
86
+
87
+ interface ListDistributionsRequest {
88
+ orgId?: string;
89
+ status?: DistributionStatus;
90
+ mint?: string;
91
+ limit?: number;
92
+ cursor?: string;
93
+ }
94
+ interface ListDistributionsResponse {
95
+ items: Distribution[];
96
+ nextCursor: string | null;
97
+ }
98
+ interface DistributionRecipientInput {
99
+ address: string;
100
+ shareBps: number;
101
+ }
102
+ interface DistributionInstruction {
103
+ programId: string;
104
+ keys: Array<{
105
+ pubkey: string;
106
+ isSigner: boolean;
107
+ isWritable: boolean;
108
+ }>;
109
+ data: string;
110
+ }
111
+ interface DistributionPersistenceWarning {
112
+ id?: string;
113
+ reason: string;
114
+ message: string;
115
+ distributionId?: string;
116
+ detail?: unknown;
117
+ exportJson?: unknown;
118
+ }
119
+ interface DistributionTransactionPayload {
120
+ distributionId: string;
121
+ label?: string;
122
+ instructions: DistributionInstruction[];
123
+ transaction?: string;
124
+ preview?: unknown;
125
+ exportJson?: unknown;
126
+ persistenceWarning?: DistributionPersistenceWarning;
127
+ title?: string | null;
128
+ [key: string]: unknown;
129
+ }
130
+ interface BuildDistributionTransactionRequest {
131
+ owner: string;
132
+ amountUi: number;
133
+ recipients: DistributionRecipientInput[];
134
+ mint: string;
135
+ distributionId?: string;
136
+ rpcEndpoint?: string;
137
+ title?: string;
138
+ [key: string]: unknown;
139
+ }
140
+ type CreateDistributionRequest = BuildDistributionTransactionRequest;
141
+ type BuildDistributionTransactionResponse = DistributionTransactionPayload;
142
+ type CreateDistributionResponse = DistributionTransactionPayload;
143
+ interface CommitDistributionRequest {
144
+ transaction?: string;
145
+ signedTransactionBase64?: string;
146
+ signature?: string;
147
+ exportJson?: unknown;
148
+ [key: string]: unknown;
149
+ }
150
+ interface CommitDistributionResponse {
151
+ success: boolean;
152
+ distributorId: string;
153
+ signature?: string;
154
+ status?: DistributionStatus | string;
155
+ alreadyCommitted?: boolean;
156
+ [key: string]: unknown;
157
+ }
158
+ interface CommitDistributionSignatureInput extends CommitDistributionRequest {
159
+ distributionId: string;
160
+ }
161
+ type BuildClaimTransactionRequest = ClaimTransactionRequest;
162
+ type BuildClaimTransactionResponse = ClaimTransactionResponse;
163
+ interface CommitClaimRequest {
164
+ distributionId: string;
165
+ signature?: string;
166
+ transaction?: string;
167
+ signedTransactionBase64?: string;
168
+ claimantPubkey?: string;
169
+ [key: string]: unknown;
170
+ }
171
+ interface CommitClaimResponse {
172
+ ok: boolean;
173
+ }
174
+ interface ClaimableResponse {
175
+ wallet: string;
176
+ claimable: ClaimableDistribution[];
177
+ }
178
+ interface ClaimHistoryItem {
179
+ distributorId: string;
180
+ signature: string;
181
+ claimedAmount: string;
182
+ claimedAt: string;
183
+ }
184
+ interface ClaimHistoryResponse {
185
+ items: ClaimHistoryItem[];
186
+ nextCursor: string | null;
187
+ }
188
+ interface HealthResponse {
189
+ status: string;
190
+ timestamp: string;
191
+ }
192
+ interface PrepareDistributionDraftRequest {
193
+ projectId: string;
194
+ mint: string;
195
+ title?: string;
196
+ }
197
+ interface PrepareDistributionDraftResponse {
198
+ id: string;
199
+ }
200
+ declare function buildDistributionTransaction(input: BuildDistributionTransactionRequest, options?: SyncRequestOptions): Promise<DistributionTransactionPayload>;
201
+ declare function commitDistributionSignature(input: CommitDistributionSignatureInput, options?: SyncRequestOptions): Promise<CommitDistributionResponse>;
202
+ declare function prepareDistributionDraft(input: PrepareDistributionDraftRequest, options?: SyncRequestOptions): Promise<PrepareDistributionDraftResponse>;
203
+
204
+ export { commitDistributionSignature as A, type BuildDistributionTransactionRequest as B, type ClaimAllocation as C, type DistributionStatus as D, prepareDistributionDraft as E, type Fetcher as F, DEFAULT_BASE_PATH as G, type HealthResponse as H, type SyncRequestConfig as I, resolveRequestConfig as J, SyncReactError as K, type ListDistributionsRequest as L, requestJSON as M, resolveFetcher as N, sanitizeBasePath as O, type PrepareDistributionDraftRequest as P, buildUrl as Q, isAbsoluteUrl as R, type SyncRequestOptions as S, isRelativeUrl as T, type Distribution as a, type ClaimTransactionInstruction as b, type ClaimTransactionRequest as c, type ClaimTransactionResponse as d, type ClaimCommitRequest as e, type ClaimableDistribution as f, type ListDistributionsResponse as g, type DistributionRecipientInput as h, type DistributionInstruction as i, type DistributionPersistenceWarning as j, type DistributionTransactionPayload as k, type CreateDistributionRequest as l, type BuildDistributionTransactionResponse as m, type CreateDistributionResponse as n, type CommitDistributionRequest as o, type CommitDistributionResponse as p, type CommitDistributionSignatureInput as q, type BuildClaimTransactionRequest as r, type BuildClaimTransactionResponse as s, type CommitClaimRequest as t, type CommitClaimResponse as u, type ClaimableResponse as v, type ClaimHistoryItem as w, type ClaimHistoryResponse as x, type PrepareDistributionDraftResponse as y, buildDistributionTransaction as z };