import { ProtectedAction } from "../../gen/chain/guard/v1/guard_signer_pb.js"; import * as v from "valibot"; //#region src/services/guard-signer/guard-signer.schemas.d.ts declare const GuardSignerScopedInputSchema: v.SchemaWithPipe, v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, undefined>; }, undefined>, v.TransformAction<{ account?: "active" | "main" | { subaccountId: string; } | undefined; }, { subaccountId: bigint | undefined; }>]>; type GuardSignerScopedInput = v.InferInput; declare const SignProtectedActionInputSchema: v.SchemaWithPipe; readonly args: v.OptionalSchema; readonly polychainChainId: v.SchemaWithPipe, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>; readonly addresses: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>, undefined>, v.MinLengthAction]>; }, undefined>, v.StrictObjectSchema<{ readonly case: v.LiteralSchema<"internalWhitelist", undefined>; readonly addresses: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>, undefined>, v.MinLengthAction]>; }, undefined>, v.StrictObjectSchema<{ readonly case: v.LiteralSchema<"whitelistRequirement", undefined>; readonly required: v.BooleanSchema; }, undefined>], undefined>, undefined>; readonly account: v.OptionalSchema, v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, undefined>; }, undefined>, v.TransformAction<{ action: "fundingSetExternalWhitelistRequired" | "fundingAddExternalWhitelist" | "fundingRemoveExternalWhitelist" | "fundingAddInternalWhitelist" | "fundingRemoveInternalWhitelist" | "fundingSetInternalWhitelistRequired"; args?: { case: "externalWhitelist"; polychainChainId: number; addresses: string[]; } | { case: "internalWhitelist"; addresses: string[]; } | { case: "whitelistRequirement"; required: boolean; } | undefined; account?: "active" | "main" | { subaccountId: string; } | undefined; }, { subaccountId: bigint | undefined; action: ProtectedAction.FUNDING_SET_EXTERNAL_WHITELIST_REQUIRED | ProtectedAction.FUNDING_ADD_EXTERNAL_WHITELIST | ProtectedAction.FUNDING_REMOVE_EXTERNAL_WHITELIST | ProtectedAction.FUNDING_ADD_INTERNAL_WHITELIST | ProtectedAction.FUNDING_REMOVE_INTERNAL_WHITELIST | ProtectedAction.FUNDING_SET_INTERNAL_WHITELIST_REQUIRED; args: { args: { case: "externalWhitelist"; value: { polychainChainId: number; addresses: string[]; required?: undefined; }; }; } | { args: { case: "internalWhitelist"; value: { addresses: string[]; polychainChainId?: undefined; required?: undefined; }; }; } | { args: { case: "whitelistRequirement"; value: { required: boolean; polychainChainId?: undefined; addresses?: undefined; }; }; } | undefined; }>]>; type SignProtectedActionInput = v.InferInput; declare const BatchSignProtectedActionInputSchema: v.SchemaWithPipe; readonly args: v.OptionalSchema; readonly polychainChainId: v.SchemaWithPipe, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>; readonly addresses: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>, undefined>, v.MinLengthAction]>; }, undefined>, v.StrictObjectSchema<{ readonly case: v.LiteralSchema<"internalWhitelist", undefined>; readonly addresses: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>, undefined>, v.MinLengthAction]>; }, undefined>, v.StrictObjectSchema<{ readonly case: v.LiteralSchema<"whitelistRequirement", undefined>; readonly required: v.BooleanSchema; }, undefined>], undefined>, undefined>; }, undefined>, undefined>, v.MinLengthAction<{ action: "fundingSetExternalWhitelistRequired" | "fundingAddExternalWhitelist" | "fundingRemoveExternalWhitelist" | "fundingAddInternalWhitelist" | "fundingRemoveInternalWhitelist" | "fundingSetInternalWhitelistRequired"; args?: { case: "externalWhitelist"; polychainChainId: number; addresses: string[]; } | { case: "internalWhitelist"; addresses: string[]; } | { case: "whitelistRequirement"; required: boolean; } | undefined; }[], 1, "At least one protected action is required.">]>; readonly account: v.OptionalSchema, v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, undefined>; }, undefined>, v.TransformAction<{ actions: { action: "fundingSetExternalWhitelistRequired" | "fundingAddExternalWhitelist" | "fundingRemoveExternalWhitelist" | "fundingAddInternalWhitelist" | "fundingRemoveInternalWhitelist" | "fundingSetInternalWhitelistRequired"; args?: { case: "externalWhitelist"; polychainChainId: number; addresses: string[]; } | { case: "internalWhitelist"; addresses: string[]; } | { case: "whitelistRequirement"; required: boolean; } | undefined; }[]; account?: "active" | "main" | { subaccountId: string; } | undefined; }, { subaccountId: bigint | undefined; actions: { action: ProtectedAction.FUNDING_SET_EXTERNAL_WHITELIST_REQUIRED | ProtectedAction.FUNDING_ADD_EXTERNAL_WHITELIST | ProtectedAction.FUNDING_REMOVE_EXTERNAL_WHITELIST | ProtectedAction.FUNDING_ADD_INTERNAL_WHITELIST | ProtectedAction.FUNDING_REMOVE_INTERNAL_WHITELIST | ProtectedAction.FUNDING_SET_INTERNAL_WHITELIST_REQUIRED; args: { args: { case: "externalWhitelist"; value: { polychainChainId: number; addresses: string[]; required?: undefined; }; }; } | { args: { case: "internalWhitelist"; value: { addresses: string[]; polychainChainId?: undefined; required?: undefined; }; }; } | { args: { case: "whitelistRequirement"; value: { required: boolean; polychainChainId?: undefined; addresses?: undefined; }; }; } | undefined; }[]; }>]>; type BatchSignProtectedActionInput = v.InferInput; declare const GuardSignerStatusSchema: v.ObjectSchema<{ readonly signerAddress: v.StringSchema; readonly onchainSignerAddress: v.StringSchema; readonly initialized: v.BooleanSchema; readonly nonce: v.StringSchema; readonly nonceSpace: v.BigintSchema; }, undefined>; type GuardSignerStatus = v.InferOutput; declare const GuardApprovalSchema: v.SchemaWithPipe; readonly deadlineUnix: v.BigintSchema; readonly signature: v.InstanceSchema; }, undefined>, v.TransformAction<{ nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }, { nonceSpace: string; deadlineUnix: string; signature: `0x${string}`; raw: { nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }; }>]>; type GuardApproval = v.InferOutput; declare const BatchGuardApprovalsSchema: v.ObjectSchema<{ readonly approvals: v.ArraySchema; readonly deadlineUnix: v.BigintSchema; readonly signature: v.InstanceSchema; }, undefined>, v.TransformAction<{ nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }, { nonceSpace: string; deadlineUnix: string; signature: `0x${string}`; raw: { nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }; }>]>, undefined>; }, undefined>; type BatchGuardApprovals = v.InferOutput; declare const CreateGuardSignerWalletResultSchema: v.ObjectSchema<{ readonly signerAddress: v.SchemaWithPipe, v.TrimAction, v.RegexAction]>; }, undefined>; type CreateGuardSignerWalletResult = v.InferOutput; declare const RotateGuardSignerWalletResultSchema: v.SchemaWithPipe, v.TrimAction, v.RegexAction]>; readonly approval: v.OptionalSchema; readonly deadlineUnix: v.BigintSchema; readonly signature: v.InstanceSchema; }, undefined>, v.TransformAction<{ nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }, { nonceSpace: string; deadlineUnix: string; signature: `0x${string}`; raw: { nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }; }>]>, undefined>; }, undefined>, v.TransformAction<{ newSignerAddress: string; approval?: { nonceSpace: string; deadlineUnix: string; signature: `0x${string}`; raw: { nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }; } | undefined; }, { newSignerAddress: string; approval: { nonceSpace: string; deadlineUnix: string; signature: `0x${string}`; raw: { nonceSpace: bigint; deadlineUnix: bigint; signature: Uint8Array; }; } | null; }>]>; type RotateGuardSignerWalletResult = v.InferOutput; declare const ExportGuardSignerWalletResultSchema: v.ObjectSchema<{ readonly privateKey: v.SchemaWithPipe, v.TrimAction, v.RegexAction]>; }, undefined>; type ExportGuardSignerWalletResult = v.InferOutput; //#endregion export { BatchGuardApprovals, BatchGuardApprovalsSchema, BatchSignProtectedActionInput, BatchSignProtectedActionInputSchema, CreateGuardSignerWalletResult, CreateGuardSignerWalletResultSchema, ExportGuardSignerWalletResult, ExportGuardSignerWalletResultSchema, GuardApproval, GuardApprovalSchema, GuardSignerScopedInput, GuardSignerScopedInputSchema, GuardSignerStatus, GuardSignerStatusSchema, RotateGuardSignerWalletResult, RotateGuardSignerWalletResultSchema, SignProtectedActionInput, SignProtectedActionInputSchema }; //# sourceMappingURL=guard-signer.schemas.d.ts.map