import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type CreateJournalLine = {
    /**
     * ID of the ledger account this line references
     */
    accountId?: string | null | undefined;
    /**
     * Amount of the journal line in minor units, e.g. 10010 for 100.10 USD. Positive for debit, negative for credit
     */
    amount?: number | null | undefined;
    /**
     * Description of the journal line
     */
    description?: string | null | undefined;
    /**
     * Tax amount of the line in minor units, e.g. 10010 for 100.10 USD
     */
    taxAmount?: number | null | undefined;
    /**
     * ID of the tax rate applied
     */
    taxRateId?: string | null | undefined;
};
/** @internal */
export declare const CreateJournalLine$inboundSchema: z.ZodType<CreateJournalLine, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateJournalLine$Outbound = {
    account_id?: string | null | undefined;
    amount?: number | null | undefined;
    description?: string | null | undefined;
    tax_amount?: number | null | undefined;
    tax_rate_id?: string | null | undefined;
};
/** @internal */
export declare const CreateJournalLine$outboundSchema: z.ZodType<CreateJournalLine$Outbound, z.ZodTypeDef, CreateJournalLine>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateJournalLine$ {
    /** @deprecated use `CreateJournalLine$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateJournalLine, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateJournalLine$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateJournalLine$Outbound, z.ZodTypeDef, CreateJournalLine>;
    /** @deprecated use `CreateJournalLine$Outbound` instead. */
    type Outbound = CreateJournalLine$Outbound;
}
export declare function createJournalLineToJSON(createJournalLine: CreateJournalLine): string;
export declare function createJournalLineFromJSON(jsonString: string): SafeParseResult<CreateJournalLine, SDKValidationError>;
//# sourceMappingURL=createjournalline.d.ts.map