import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ContributionConstraintsContributionTypeInfo, ContributionConstraintsContributionTypeInfo$Outbound } from "./contributionconstraintscontributiontypeinfo.js"; /** * Retirement contribution constraints when depositing money into an Apex account */ export type ContributionConstraints = { /** * Deprecated: please refer to the `valid_types.previous_year_deadline` field instead This value is determined based on the current date relative to the tax deadline. It will be inaccurate in cases where the previous year contribution deadline is not the tax deadline (e.g. `RECHARACTERIZATION`). * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ onlyAllowCurrentYear?: boolean | undefined; /** * Valid contribution types */ validTypes?: Array | undefined; }; /** @internal */ export declare const ContributionConstraints$inboundSchema: z.ZodType; /** @internal */ export type ContributionConstraints$Outbound = { only_allow_current_year?: boolean | undefined; valid_types?: Array | undefined; }; /** @internal */ export declare const ContributionConstraints$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ContributionConstraints$ { /** @deprecated use `ContributionConstraints$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ContributionConstraints$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ContributionConstraints$Outbound` instead. */ type Outbound = ContributionConstraints$Outbound; } export declare function contributionConstraintsToJSON(contributionConstraints: ContributionConstraints): string; export declare function contributionConstraintsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contributionconstraints.d.ts.map