import * as Schema from "effect/Schema";
export declare const GetCreditNotesCreditNoteLinesInput: Schema.Struct<{
    readonly credit_note: Schema.String;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly starting_after: Schema.optional<Schema.String>;
}>;
export type GetCreditNotesCreditNoteLinesInput = typeof GetCreditNotesCreditNoteLinesInput.Type;
export declare const GetCreditNotesCreditNoteLinesOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly description: Schema.NullOr<Schema.String>;
        readonly discount_amount: Schema.Number;
        readonly discount_amounts: Schema.$Array<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly discount: Schema.Unknown;
        }>>;
        readonly id: Schema.String;
        readonly invoice_line_item: Schema.optional<Schema.String>;
        readonly livemode: Schema.Boolean;
        readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
        readonly object: Schema.Literals<readonly ["credit_note_line_item"]>;
        readonly pretax_credit_amounts: Schema.$Array<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly credit_balance_transaction: Schema.optional<Schema.Unknown>;
            readonly discount: Schema.optional<Schema.Unknown>;
            readonly type: Schema.Literals<readonly ["credit_balance_transaction", "discount"]>;
        }>>;
        readonly quantity: Schema.NullOr<Schema.Number>;
        readonly tax_rates: Schema.$Array<Schema.Struct<{
            readonly active: Schema.Boolean;
            readonly country: Schema.NullOr<Schema.String>;
            readonly created: Schema.Number;
            readonly description: Schema.NullOr<Schema.String>;
            readonly display_name: Schema.String;
            readonly effective_percentage: Schema.NullOr<Schema.Number>;
            readonly flat_amount: Schema.Unknown;
            readonly id: Schema.String;
            readonly inclusive: Schema.Boolean;
            readonly jurisdiction: Schema.NullOr<Schema.String>;
            readonly jurisdiction_level: Schema.NullOr<Schema.Literals<readonly ["city", "country", "county", "district", "multiple", "state"]>>;
            readonly livemode: Schema.Boolean;
            readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
            readonly object: Schema.Literals<readonly ["tax_rate"]>;
            readonly percentage: Schema.Number;
            readonly rate_type: Schema.NullOr<Schema.Literals<readonly ["flat_amount", "percentage"]>>;
            readonly state: Schema.NullOr<Schema.String>;
            readonly tax_type: Schema.NullOr<Schema.Literals<readonly ["amusement_tax", "communications_tax", "gst", "hst", "igst", "jct", "lease_tax", "pst", "qst", "retail_delivery_fee", "rst", "sales_tax", "service_tax", "vat"]>>;
        }>>;
        readonly taxes: Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly tax_behavior: Schema.Literals<readonly ["exclusive", "inclusive"]>;
            readonly tax_rate_details: Schema.Unknown;
            readonly taxability_reason: Schema.Literals<readonly ["customer_exempt", "not_available", "not_collecting", "not_subject_to_tax", "not_supported", "portion_product_exempt", "portion_reduced_rated", "portion_standard_rated", "product_exempt", "product_exempt_holiday", "proportionally_rated", "reduced_rated", "reverse_charge", "standard_rated", "taxable_basis_reduced", "zero_rated"]>;
            readonly taxable_amount: Schema.NullOr<Schema.Number>;
            readonly type: Schema.Literals<readonly ["tax_rate_details"]>;
        }>>>;
        readonly type: Schema.Literals<readonly ["custom_line_item", "invoice_line_item"]>;
        readonly unit_amount: Schema.NullOr<Schema.Number>;
        readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetCreditNotesCreditNoteLinesOutput = typeof GetCreditNotesCreditNoteLinesOutput.Type;
/**
 * Retrieve a credit note's line items
 *
 * <p>When retrieving a credit note, you’ll get a <strong>lines</strong> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>
 *
 * @param ending_before - A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
 * @param expand - Specifies which fields in the response should be expanded.
 * @param limit - A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
 * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
 */
export declare const GetCreditNotesCreditNoteLines: import("@distilled.cloud/core/client").OperationMethod<{
    readonly credit_note: string;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly limit?: number | undefined;
    readonly starting_after?: string | undefined;
}, {
    readonly data: readonly {
        readonly amount: number;
        readonly description: string | null;
        readonly discount_amount: number;
        readonly discount_amounts: readonly {
            readonly amount: number;
            readonly discount: unknown;
        }[];
        readonly id: string;
        readonly invoice_line_item?: string | undefined;
        readonly livemode: boolean;
        readonly metadata: {
            readonly [x: string]: string;
        } | null;
        readonly object: "credit_note_line_item";
        readonly pretax_credit_amounts: readonly {
            readonly amount: number;
            readonly credit_balance_transaction?: unknown;
            readonly discount?: unknown;
            readonly type: "credit_balance_transaction" | "discount";
        }[];
        readonly quantity: number | null;
        readonly tax_rates: readonly {
            readonly active: boolean;
            readonly country: string | null;
            readonly created: number;
            readonly description: string | null;
            readonly display_name: string;
            readonly effective_percentage: number | null;
            readonly flat_amount: unknown;
            readonly id: string;
            readonly inclusive: boolean;
            readonly jurisdiction: string | null;
            readonly jurisdiction_level: "city" | "country" | "county" | "district" | "multiple" | "state" | null;
            readonly livemode: boolean;
            readonly metadata: {
                readonly [x: string]: string;
            } | null;
            readonly object: "tax_rate";
            readonly percentage: number;
            readonly rate_type: "flat_amount" | "percentage" | null;
            readonly state: string | null;
            readonly tax_type: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "service_tax" | "vat" | null;
        }[];
        readonly taxes: readonly {
            readonly amount: number;
            readonly tax_behavior: "exclusive" | "inclusive";
            readonly tax_rate_details: unknown;
            readonly taxability_reason: "customer_exempt" | "not_available" | "not_collecting" | "not_subject_to_tax" | "not_supported" | "portion_product_exempt" | "portion_reduced_rated" | "portion_standard_rated" | "product_exempt" | "product_exempt_holiday" | "proportionally_rated" | "reduced_rated" | "reverse_charge" | "standard_rated" | "taxable_basis_reduced" | "zero_rated";
            readonly taxable_amount: number | null;
            readonly type: "tax_rate_details";
        }[] | null;
        readonly type: "custom_line_item" | "invoice_line_item";
        readonly unit_amount: number | null;
        readonly unit_amount_decimal: string | null;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetCreditNotesCreditNoteLines.d.ts.map