import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CreditCardNetwork } from "./creditcardnetwork.js"; export type TestCreditCard = { /** * The credit card's network. */ network: CreditCardNetwork; /** * The Bank Identification Number (BIN). This is typically the first 4 to 6 digits of the account number. */ bin: string; /** * The account number's last four digits. */ last4: string; /** * The token's expiration date. Tokens used past their expiration will be rejected. */ expiration: Date; /** * The Bolt token associated with the credit card. */ token: string; }; /** @internal */ export declare const TestCreditCard$inboundSchema: z.ZodType; /** @internal */ export type TestCreditCard$Outbound = { network: string; bin: string; last4: string; expiration: string; token: string; }; /** @internal */ export declare const TestCreditCard$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 TestCreditCard$ { /** @deprecated use `TestCreditCard$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TestCreditCard$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TestCreditCard$Outbound` instead. */ type Outbound = TestCreditCard$Outbound; } export declare function testCreditCardToJSON(testCreditCard: TestCreditCard): string; export declare function testCreditCardFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=testcreditcard.d.ts.map