import { z } from 'zod'; import { IZodHandlers, IZodSchemaToApiTypes } from '../utils/IZodApi'; export declare const ArgonPaymentProcessorApiSchema: { 'ArgonPaymentProcessor.getPaymentInfo': { args: z.ZodVoid; result: 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; }>; }; 'ArgonPaymentProcessor.importChannelHold': { args: z.ZodObject<{ datastoreId: z.ZodString; channelHold: z.ZodObject; 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>; }, { channelHoldNote: z.ZodObject<{ microgons: z.ZodEffects; 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; }>; }>, "strip", z.ZodTypeAny, { balance: bigint; accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; 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"; }; }; 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; }, { accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; 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; }; 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; signature?: unknown; }>; }, "strip", z.ZodTypeAny, { channelHold: { balance: bigint; accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; 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"; }; }; 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; }; datastoreId: string; }, { channelHold: { accountId: string; accountType: import("@argonprotocol/localchain").AccountType; changeNumber: number; 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; }; 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; signature?: unknown; }; datastoreId: string; }>; result: z.ZodObject<{ accepted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { accepted: boolean; }, { accepted: boolean; }>; }; 'ArgonPaymentProcessor.debit': { args: z.ZodObject<{ datastoreId: z.ZodString; queryId: z.ZodString; payment: z.ZodObject; settledSignature: z.ZodEffects, Buffer, Buffer>, Buffer, unknown>; }, "strip", z.ZodTypeAny, { id: string; settledMicrogons: bigint; settledSignature: Buffer; }, { id: string; settledMicrogons?: unknown; settledSignature?: unknown; }>>; credits: z.ZodOptional>; }, { uuid: z.ZodString; microgons: z.ZodEffects; }>, "strip", z.ZodTypeAny, { uuid: string; microgons: bigint; channelHold?: { id: string; settledMicrogons: bigint; settledSignature: Buffer; } | undefined; credits?: { id: string; secret: string; } | undefined; }, { uuid: string; channelHold?: { id: string; settledMicrogons?: unknown; settledSignature?: unknown; } | undefined; credits?: { id: string; secret: string; } | undefined; microgons?: unknown; }>; }, "strip", z.ZodTypeAny, { datastoreId: string; queryId: string; payment: { uuid: string; microgons: bigint; channelHold?: { id: string; settledMicrogons: bigint; settledSignature: Buffer; } | undefined; credits?: { id: string; secret: string; } | undefined; }; }, { datastoreId: string; queryId: string; payment: { uuid: string; channelHold?: { id: string; settledMicrogons?: unknown; settledSignature?: unknown; } | undefined; credits?: { id: string; secret: string; } | undefined; microgons?: unknown; }; }>; result: z.ZodObject<{ shouldFinalize: z.ZodBoolean; }, "strip", z.ZodTypeAny, { shouldFinalize: boolean; }, { shouldFinalize: boolean; }>; }; 'ArgonPaymentProcessor.finalize': { args: z.ZodObject<{ datastoreId: z.ZodString; channelHoldId: z.ZodString; uuid: z.ZodString; finalMicrogons: z.ZodEffects; }, "strip", z.ZodTypeAny, { uuid: string; datastoreId: string; channelHoldId: string; finalMicrogons: bigint; }, { uuid: string; datastoreId: string; channelHoldId: string; finalMicrogons?: unknown; }>; result: z.ZodVoid; }; }; export type IArgonPaymentProcessorApiTypes = IZodSchemaToApiTypes; export type IArgonPaymentProcessorApis = IZodHandlers; export default IArgonPaymentProcessorApiTypes;