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 declare enum Two {
    True = "true",
    False = "false"
}
/**
 * Whether the account is active
 */
export type Active = boolean | Two;
export type AccountingAccount4 = {};
export type AccountingAccountSourceValue = string | number | boolean | AccountingAccount4 | Array<any>;
/**
 * Type of account
 */
export declare enum AccountingAccountValue {
    Asset = "asset",
    Liability = "liability",
    Equity = "equity",
    Revenue = "revenue",
    Expense = "expense",
    UnmappedValue = "unmapped_value"
}
/**
 * Type of account
 */
export type AccountingAccountValueOpen = OpenEnum<typeof AccountingAccountValue>;
/**
 * Type of account
 */
export type Type = {
    sourceValue?: string | number | boolean | AccountingAccount4 | Array<any> | null | undefined;
    /**
     * Type of account
     */
    value?: AccountingAccountValueOpen | null | undefined;
};
export type AccountingAccount = {
    /**
     * Whether the account is active
     */
    active?: boolean | Two | null | undefined;
    /**
     * External system's account code/number
     */
    code?: string | null | undefined;
    /**
     * ID of the company this account belongs to
     */
    companyId?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * Name of the account
     */
    name?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * Type of account
     */
    type?: Type | null | undefined;
};
/** @internal */
export declare const Two$inboundSchema: z.ZodNativeEnum<typeof Two>;
/** @internal */
export declare const Active$inboundSchema: z.ZodType<Active, z.ZodTypeDef, unknown>;
export declare function activeFromJSON(jsonString: string): SafeParseResult<Active, SDKValidationError>;
/** @internal */
export declare const AccountingAccount4$inboundSchema: z.ZodType<AccountingAccount4, z.ZodTypeDef, unknown>;
export declare function accountingAccount4FromJSON(jsonString: string): SafeParseResult<AccountingAccount4, SDKValidationError>;
/** @internal */
export declare const AccountingAccountSourceValue$inboundSchema: z.ZodType<AccountingAccountSourceValue, z.ZodTypeDef, unknown>;
export declare function accountingAccountSourceValueFromJSON(jsonString: string): SafeParseResult<AccountingAccountSourceValue, SDKValidationError>;
/** @internal */
export declare const AccountingAccountValue$inboundSchema: z.ZodType<AccountingAccountValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const Type$inboundSchema: z.ZodType<Type, z.ZodTypeDef, unknown>;
export declare function typeFromJSON(jsonString: string): SafeParseResult<Type, SDKValidationError>;
/** @internal */
export declare const AccountingAccount$inboundSchema: z.ZodType<AccountingAccount, z.ZodTypeDef, unknown>;
export declare function accountingAccountFromJSON(jsonString: string): SafeParseResult<AccountingAccount, SDKValidationError>;
//# sourceMappingURL=accountingaccount.d.ts.map