import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ClearingCode4 = {};
export type ClearingCodeSourceValue = string | number | boolean | ClearingCode4 | Array<any>;
/**
 * The type of clearing code
 */
export declare enum ClearingCodeValue {
    SortCode = "sort_code",
    BuildingSocietyReference = "building_society_reference",
    AbaRouting = "aba_routing",
    ChipsParticipantId = "chips_participant_id",
    TransitNumber = "transit_number",
    InstitutionNumber = "institution_number",
    BsbCode = "bsb_code",
    IfscCode = "ifsc_code",
    MicrCode = "micr_code",
    Clabe = "clabe",
    CnapsCode = "cnaps_code",
    ChBankClearingCode = "ch_bank_clearing_code",
    ChSicCode = "ch_sic_code",
    ZenginCode = "zengin_code",
    NzClearingCode = "nz_clearing_code",
    HkBankCode = "hk_bank_code",
    Blz = "blz",
    AtBankleitzahl = "at_bankleitzahl",
    Nuban = "nuban",
    SeBankgiroCode = "se_bankgiro_code",
    UnmappedValue = "unmapped_value"
}
/**
 * The type of clearing code
 */
export type ClearingCodeValueOpen = OpenEnum<typeof ClearingCodeValue>;
/**
 * The type of clearing code
 */
export type ClearingCodeType = {
    sourceValue?: string | number | boolean | ClearingCode4 | Array<any> | null | undefined;
    /**
     * The type of clearing code
     */
    value?: ClearingCodeValueOpen | null | undefined;
};
export type ClearingCode = {
    /**
     * The type of clearing code
     */
    type?: ClearingCodeType | null | undefined;
    /**
     * The clearing code value
     */
    value?: string | null | undefined;
};
/** @internal */
export declare const ClearingCode4$inboundSchema: z.ZodType<ClearingCode4, z.ZodTypeDef, unknown>;
export declare function clearingCode4FromJSON(jsonString: string): SafeParseResult<ClearingCode4, SDKValidationError>;
/** @internal */
export declare const ClearingCodeSourceValue$inboundSchema: z.ZodType<ClearingCodeSourceValue, z.ZodTypeDef, unknown>;
export declare function clearingCodeSourceValueFromJSON(jsonString: string): SafeParseResult<ClearingCodeSourceValue, SDKValidationError>;
/** @internal */
export declare const ClearingCodeValue$inboundSchema: z.ZodType<ClearingCodeValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const ClearingCodeType$inboundSchema: z.ZodType<ClearingCodeType, z.ZodTypeDef, unknown>;
export declare function clearingCodeTypeFromJSON(jsonString: string): SafeParseResult<ClearingCodeType, SDKValidationError>;
/** @internal */
export declare const ClearingCode$inboundSchema: z.ZodType<ClearingCode, z.ZodTypeDef, unknown>;
export declare function clearingCodeFromJSON(jsonString: string): SafeParseResult<ClearingCode, SDKValidationError>;
//# sourceMappingURL=clearingcode.d.ts.map