import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare enum AccountingTaxRate2 {
    True = "true",
    False = "false"
}
/**
 * Whether the tax rate is active
 */
export type AccountingTaxRateActive = boolean | AccountingTaxRate2;
export type AccountingTaxRate = {
    /**
     * Whether the tax rate is active
     */
    active?: boolean | AccountingTaxRate2 | null | undefined;
    /**
     * External system's tax code
     */
    code?: string | null | undefined;
    /**
     * ID of the company this tax rate belongs to
     */
    companyId?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * Name of the tax rate
     */
    name?: string | null | undefined;
    /**
     * Tax rate percentage
     */
    percentage?: number | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
};
/** @internal */
export declare const AccountingTaxRate2$inboundSchema: z.ZodNativeEnum<typeof AccountingTaxRate2>;
/** @internal */
export declare const AccountingTaxRate2$outboundSchema: z.ZodNativeEnum<typeof AccountingTaxRate2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRate2$ {
    /** @deprecated use `AccountingTaxRate2$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<typeof AccountingTaxRate2>;
    /** @deprecated use `AccountingTaxRate2$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<typeof AccountingTaxRate2>;
}
/** @internal */
export declare const AccountingTaxRateActive$inboundSchema: z.ZodType<AccountingTaxRateActive, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingTaxRateActive$Outbound = boolean | string;
/** @internal */
export declare const AccountingTaxRateActive$outboundSchema: z.ZodType<AccountingTaxRateActive$Outbound, z.ZodTypeDef, AccountingTaxRateActive>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRateActive$ {
    /** @deprecated use `AccountingTaxRateActive$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingTaxRateActive, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingTaxRateActive$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingTaxRateActive$Outbound, z.ZodTypeDef, AccountingTaxRateActive>;
    /** @deprecated use `AccountingTaxRateActive$Outbound` instead. */
    type Outbound = AccountingTaxRateActive$Outbound;
}
export declare function accountingTaxRateActiveToJSON(accountingTaxRateActive: AccountingTaxRateActive): string;
export declare function accountingTaxRateActiveFromJSON(jsonString: string): SafeParseResult<AccountingTaxRateActive, SDKValidationError>;
/** @internal */
export declare const AccountingTaxRate$inboundSchema: z.ZodType<AccountingTaxRate, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingTaxRate$Outbound = {
    active?: boolean | string | null | undefined;
    code?: string | null | undefined;
    company_id?: string | null | undefined;
    id?: string | null | undefined;
    name?: string | null | undefined;
    percentage?: number | null | undefined;
    remote_id?: string | null | undefined;
};
/** @internal */
export declare const AccountingTaxRate$outboundSchema: z.ZodType<AccountingTaxRate$Outbound, z.ZodTypeDef, AccountingTaxRate>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRate$ {
    /** @deprecated use `AccountingTaxRate$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingTaxRate, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingTaxRate$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingTaxRate$Outbound, z.ZodTypeDef, AccountingTaxRate>;
    /** @deprecated use `AccountingTaxRate$Outbound` instead. */
    type Outbound = AccountingTaxRate$Outbound;
}
export declare function accountingTaxRateToJSON(accountingTaxRate: AccountingTaxRate): string;
export declare function accountingTaxRateFromJSON(jsonString: string): SafeParseResult<AccountingTaxRate, SDKValidationError>;
//# sourceMappingURL=accountingtaxrate.d.ts.map