import { z } from 'zod'; import { IZodSchemaToApiTypes } from '../utils/IZodApi'; export declare const DatabrokerApisSchema: { 'Databroker.createChannelHold': { args: z.ZodObject<{ recipient: z.ZodObject<{ chain: z.ZodNativeEnum; genesisHash: z.ZodString; address: z.ZodString; notaryId: z.ZodNumber; }, "strip", z.ZodTypeAny, { notaryId: number; chain: import("@argonprotocol/localchain").Chain; genesisHash: string; address: string; }, { notaryId: number; chain: import("@argonprotocol/localchain").Chain; genesisHash: string; address: string; }>; microgons: z.ZodEffects; domain: z.ZodOptional; datastoreId: z.ZodString; delegatedSigningAddress: z.ZodString; authentication: z.ZodObject<{ identity: z.ZodString; signature: z.ZodEffects, Buffer, Buffer>; nonce: z.ZodString; }, "strip", z.ZodTypeAny, { signature: Buffer; identity: string; nonce: string; }, { signature: Buffer; identity: string; nonce: string; }>; }, "strip", z.ZodTypeAny, { microgons: bigint; recipient: { notaryId: number; chain: import("@argonprotocol/localchain").Chain; genesisHash: string; address: string; }; datastoreId: string; delegatedSigningAddress: string; authentication: { signature: Buffer; identity: string; nonce: string; }; domain?: string | undefined; }, { recipient: { notaryId: number; chain: import("@argonprotocol/localchain").Chain; genesisHash: string; address: string; }; datastoreId: string; delegatedSigningAddress: string; authentication: { signature: Buffer; identity: string; nonce: string; }; microgons?: unknown; domain?: string | undefined; }>; result: z.ZodObject<{ channelHoldId: z.ZodString; balanceChange: z.ZodObject<{ accountId: z.ZodString; accountType: z.ZodNativeEnum; changeNumber: z.ZodNumber; balance: z.ZodEffects; previousBalanceProof: z.ZodOptional; accountOrigin: z.ZodObject<{ notebookNumber: z.ZodNumber; accountUid: z.ZodNumber; }, "strip", z.ZodTypeAny, { notebookNumber: number; accountUid: number; }, { notebookNumber: number; accountUid: number; }>; notebookProof: z.ZodOptional, "many">; numberOfLeaves: z.ZodNumber; leafIndex: z.ZodNumber; }, "strip", z.ZodTypeAny, { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; }, { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; }>>>; }, "strip", z.ZodTypeAny, { notebookNumber: number; notaryId: number; tick: number; balance: bigint; accountOrigin: { notebookNumber: number; accountUid: number; }; notebookProof?: { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; } | null | undefined; }, { notebookNumber: number; notaryId: number; tick: number; accountOrigin: { notebookNumber: number; accountUid: number; }; balance?: unknown; notebookProof?: { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; } | null | undefined; }>>>; channelHoldNote: z.ZodOptional; noteType: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ action: z.ZodLiteral<"sendToMainchain">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "sendToMainchain"; }, { action: "sendToMainchain"; }>, z.ZodObject<{ action: z.ZodLiteral<"claimFromMainchain">; transferId: z.ZodNumber; }, "strip", z.ZodTypeAny, { action: "claimFromMainchain"; transferId: number; }, { action: "claimFromMainchain"; transferId: number; }>, z.ZodObject<{ action: z.ZodLiteral<"claim">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "claim"; }, { action: "claim"; }>, z.ZodObject<{ action: z.ZodLiteral<"send">; to: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { action: "send"; to?: string[] | null | undefined; }, { action: "send"; to?: string[] | null | undefined; }>, z.ZodObject<{ action: z.ZodLiteral<"leaseDomain">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "leaseDomain"; }, { action: "leaseDomain"; }>, z.ZodObject<{ action: z.ZodLiteral<"fee">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "fee"; }, { action: "fee"; }>, z.ZodObject<{ action: z.ZodLiteral<"tax">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "tax"; }, { action: "tax"; }>, z.ZodObject<{ action: z.ZodLiteral<"sendToVote">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "sendToVote"; }, { action: "sendToVote"; }>, z.ZodObject<{ action: z.ZodLiteral<"channelHold">; recipient: z.ZodString; domainHash: z.ZodOptional, Buffer, Buffer>, Buffer, unknown>>>>; delegatedSigner: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; }, { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; }>, z.ZodObject<{ action: z.ZodLiteral<"channelHoldSettle">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "channelHoldSettle"; }, { action: "channelHoldSettle"; }>, z.ZodObject<{ action: z.ZodLiteral<"channelHoldClaim">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "channelHoldClaim"; }, { action: "channelHoldClaim"; }>]>; }, "strip", z.ZodTypeAny, { microgons: bigint; noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; }, { noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; microgons?: unknown; }>>>; notes: z.ZodArray; noteType: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ action: z.ZodLiteral<"sendToMainchain">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "sendToMainchain"; }, { action: "sendToMainchain"; }>, z.ZodObject<{ action: z.ZodLiteral<"claimFromMainchain">; transferId: z.ZodNumber; }, "strip", z.ZodTypeAny, { action: "claimFromMainchain"; transferId: number; }, { action: "claimFromMainchain"; transferId: number; }>, z.ZodObject<{ action: z.ZodLiteral<"claim">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "claim"; }, { action: "claim"; }>, z.ZodObject<{ action: z.ZodLiteral<"send">; to: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { action: "send"; to?: string[] | null | undefined; }, { action: "send"; to?: string[] | null | undefined; }>, z.ZodObject<{ action: z.ZodLiteral<"leaseDomain">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "leaseDomain"; }, { action: "leaseDomain"; }>, z.ZodObject<{ action: z.ZodLiteral<"fee">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "fee"; }, { action: "fee"; }>, z.ZodObject<{ action: z.ZodLiteral<"tax">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "tax"; }, { action: "tax"; }>, z.ZodObject<{ action: z.ZodLiteral<"sendToVote">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "sendToVote"; }, { action: "sendToVote"; }>, z.ZodObject<{ action: z.ZodLiteral<"channelHold">; recipient: z.ZodString; domainHash: z.ZodOptional, Buffer, Buffer>, Buffer, unknown>>>>; delegatedSigner: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; }, { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; }>, z.ZodObject<{ action: z.ZodLiteral<"channelHoldSettle">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "channelHoldSettle"; }, { action: "channelHoldSettle"; }>, z.ZodObject<{ action: z.ZodLiteral<"channelHoldClaim">; }, z.UnknownKeysParam, z.ZodTypeAny, { action: "channelHoldClaim"; }, { action: "channelHoldClaim"; }>]>; }, "strip", z.ZodTypeAny, { microgons: bigint; noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; }, { noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; microgons?: unknown; }>, "many">; signature: z.ZodEffects, Buffer, Buffer>, Buffer, unknown>; }, "strip", z.ZodTypeAny, { balance: bigint; accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; notes: { microgons: bigint; noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; }[]; signature: Buffer; previousBalanceProof?: { notebookNumber: number; notaryId: number; tick: number; balance: bigint; accountOrigin: { notebookNumber: number; accountUid: number; }; notebookProof?: { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; } | null | undefined; } | null | undefined; channelHoldNote?: { microgons: bigint; noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; } | null | undefined; }, { accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; notes: { noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; microgons?: unknown; }[]; balance?: unknown; previousBalanceProof?: { notebookNumber: number; notaryId: number; tick: number; accountOrigin: { notebookNumber: number; accountUid: number; }; balance?: unknown; notebookProof?: { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; } | null | undefined; } | null | undefined; channelHoldNote?: { noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; microgons?: unknown; } | null | undefined; signature?: unknown; }>; expirationDate: z.ZodDate; }, "strip", z.ZodTypeAny, { channelHoldId: string; balanceChange: { balance: bigint; accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; notes: { microgons: bigint; noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; }[]; signature: Buffer; previousBalanceProof?: { notebookNumber: number; notaryId: number; tick: number; balance: bigint; accountOrigin: { notebookNumber: number; accountUid: number; }; notebookProof?: { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; } | null | undefined; } | null | undefined; channelHoldNote?: { microgons: bigint; noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: Buffer | null | undefined; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; } | null | undefined; }; expirationDate: Date; }, { channelHoldId: string; balanceChange: { accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; notes: { noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; microgons?: unknown; }[]; balance?: unknown; previousBalanceProof?: { notebookNumber: number; notaryId: number; tick: number; accountOrigin: { notebookNumber: number; accountUid: number; }; balance?: unknown; notebookProof?: { proof: Uint8Array[]; numberOfLeaves: number; leafIndex: number; } | null | undefined; } | null | undefined; channelHoldNote?: { noteType: { action: "send"; to?: string[] | null | undefined; } | { action: "claimFromMainchain"; transferId: number; } | { action: "channelHold"; recipient: string; domainHash?: unknown; delegatedSigner?: string | null | undefined; } | { action: "sendToMainchain"; } | { action: "claim"; } | { action: "leaseDomain"; } | { action: "fee"; } | { action: "tax"; } | { action: "sendToVote"; } | { action: "channelHoldSettle"; } | { action: "channelHoldClaim"; }; microgons?: unknown; } | null | undefined; signature?: unknown; }; expirationDate: Date; }>; }; 'Databroker.getBalance': { args: z.ZodObject<{ identity: z.ZodString; }, "strip", z.ZodTypeAny, { identity: string; }, { identity: string; }>; result: z.ZodObject<{ balance: z.ZodEffects; }, "strip", z.ZodTypeAny, { balance: bigint; }, { balance?: unknown; }>; }; }; type IDatabrokerApiTypes = IZodSchemaToApiTypes; export { IDatabrokerApiTypes }; export default IDatabrokerApiTypes;