import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export declare enum AccountingTaxRateResult2 {
    True = "true",
    False = "false"
}
/**
 * Whether the tax rate is active
 */
export type AccountingTaxRateResultActive = boolean | AccountingTaxRateResult2;
export type AccountingTaxRateResultData = {
    /**
     * Whether the tax rate is active
     */
    active?: boolean | AccountingTaxRateResult2 | 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;
};
export type AccountingTaxRateResult = {
    data?: AccountingTaxRateResultData | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const AccountingTaxRateResult2$inboundSchema: z.ZodNativeEnum<typeof AccountingTaxRateResult2>;
/** @internal */
export declare const AccountingTaxRateResult2$outboundSchema: z.ZodNativeEnum<typeof AccountingTaxRateResult2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRateResult2$ {
    /** @deprecated use `AccountingTaxRateResult2$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<typeof AccountingTaxRateResult2>;
    /** @deprecated use `AccountingTaxRateResult2$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<typeof AccountingTaxRateResult2>;
}
/** @internal */
export declare const AccountingTaxRateResultActive$inboundSchema: z.ZodType<AccountingTaxRateResultActive, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingTaxRateResultActive$Outbound = boolean | string;
/** @internal */
export declare const AccountingTaxRateResultActive$outboundSchema: z.ZodType<AccountingTaxRateResultActive$Outbound, z.ZodTypeDef, AccountingTaxRateResultActive>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRateResultActive$ {
    /** @deprecated use `AccountingTaxRateResultActive$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingTaxRateResultActive, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingTaxRateResultActive$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingTaxRateResultActive$Outbound, z.ZodTypeDef, AccountingTaxRateResultActive>;
    /** @deprecated use `AccountingTaxRateResultActive$Outbound` instead. */
    type Outbound = AccountingTaxRateResultActive$Outbound;
}
export declare function accountingTaxRateResultActiveToJSON(accountingTaxRateResultActive: AccountingTaxRateResultActive): string;
export declare function accountingTaxRateResultActiveFromJSON(jsonString: string): SafeParseResult<AccountingTaxRateResultActive, SDKValidationError>;
/** @internal */
export declare const AccountingTaxRateResultData$inboundSchema: z.ZodType<AccountingTaxRateResultData, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingTaxRateResultData$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 AccountingTaxRateResultData$outboundSchema: z.ZodType<AccountingTaxRateResultData$Outbound, z.ZodTypeDef, AccountingTaxRateResultData>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRateResultData$ {
    /** @deprecated use `AccountingTaxRateResultData$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingTaxRateResultData, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingTaxRateResultData$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingTaxRateResultData$Outbound, z.ZodTypeDef, AccountingTaxRateResultData>;
    /** @deprecated use `AccountingTaxRateResultData$Outbound` instead. */
    type Outbound = AccountingTaxRateResultData$Outbound;
}
export declare function accountingTaxRateResultDataToJSON(accountingTaxRateResultData: AccountingTaxRateResultData): string;
export declare function accountingTaxRateResultDataFromJSON(jsonString: string): SafeParseResult<AccountingTaxRateResultData, SDKValidationError>;
/** @internal */
export declare const AccountingTaxRateResult$inboundSchema: z.ZodType<AccountingTaxRateResult, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingTaxRateResult$Outbound = {
    data?: AccountingTaxRateResultData$Outbound | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const AccountingTaxRateResult$outboundSchema: z.ZodType<AccountingTaxRateResult$Outbound, z.ZodTypeDef, AccountingTaxRateResult>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingTaxRateResult$ {
    /** @deprecated use `AccountingTaxRateResult$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingTaxRateResult, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingTaxRateResult$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingTaxRateResult$Outbound, z.ZodTypeDef, AccountingTaxRateResult>;
    /** @deprecated use `AccountingTaxRateResult$Outbound` instead. */
    type Outbound = AccountingTaxRateResult$Outbound;
}
export declare function accountingTaxRateResultToJSON(accountingTaxRateResult: AccountingTaxRateResult): string;
export declare function accountingTaxRateResultFromJSON(jsonString: string): SafeParseResult<AccountingTaxRateResult, SDKValidationError>;
//# sourceMappingURL=accountingtaxrateresult.d.ts.map