import "../../gen/chain/withdraw/v1/auto_withdraw_pb.js"; //#region src/services/auto-withdraw/auto-withdraw.codecs.d.ts declare const AUTO_WITHDRAW_CADENCE_VALUES: readonly ["hourly", "daily", "weekly", "biweekly", "monthly"]; type AutoWithdrawCadence = (typeof AUTO_WITHDRAW_CADENCE_VALUES)[number]; declare const AUTO_WITHDRAW_WEEKDAY_VALUES: readonly ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]; type AutoWithdrawWeekday = (typeof AUTO_WITHDRAW_WEEKDAY_VALUES)[number]; declare const AUTO_WITHDRAW_RUN_STATE_VALUES: readonly ["planned", "paying", "completed", "partially_failed", "failed", "skipped"]; type AutoWithdrawRunState = (typeof AUTO_WITHDRAW_RUN_STATE_VALUES)[number]; declare const AUTO_WITHDRAW_STEP_STATE_VALUES: readonly ["pending", "submitting", "submitted", "completed", "failed", "skipped"]; type AutoWithdrawStepState = (typeof AUTO_WITHDRAW_STEP_STATE_VALUES)[number]; declare const AUTO_WITHDRAW_PREVIEW_STATUS_VALUES: readonly ["will_pay", "rolls_over", "no_destination", "paused", "no_rule"]; type AutoWithdrawPreviewStatus = (typeof AUTO_WITHDRAW_PREVIEW_STATUS_VALUES)[number]; /** Why a rule paused itself. Unknown future reasons pass through as strings. */ type AutoWithdrawPauseReason = "destination_not_whitelisted" | "destination_invalid" | "authority_revoked" | (string & {}); /** Why a run was skipped. Unknown future reasons pass through as strings. */ type AutoWithdrawRunReason = "nothing_to_pay" | "price_unavailable" | "rule_superseded" | (string & {}); /** Why a step was skipped or failed. Unknown future reasons pass through as strings. */ type AutoWithdrawStepReason = "below_minimum" | "price_unavailable" | "rule_superseded" | "destination_not_whitelisted" | "destination_cooling_down" | "authority_revoked" | "gateway_capacity_insufficient" | "withdrawal_released" | "withdrawal_failed" | (string & {}); /** * Why part or all of an asset's balance would stay on the account in a previewed run. Unknown * future reasons pass through as strings. */ type AutoWithdrawHoldReason = "below_minimum" | "price_unavailable" | "no_destination" | "destination_cooling_down" | "above_max" | "dust" | (string & {}); //#endregion export { AUTO_WITHDRAW_CADENCE_VALUES, AUTO_WITHDRAW_PREVIEW_STATUS_VALUES, AUTO_WITHDRAW_RUN_STATE_VALUES, AUTO_WITHDRAW_STEP_STATE_VALUES, AUTO_WITHDRAW_WEEKDAY_VALUES, AutoWithdrawCadence, AutoWithdrawHoldReason, AutoWithdrawPauseReason, AutoWithdrawPreviewStatus, AutoWithdrawRunReason, AutoWithdrawRunState, AutoWithdrawStepReason, AutoWithdrawStepState, AutoWithdrawWeekday }; //# sourceMappingURL=auto-withdraw.codecs.d.ts.map