import * as Schema from "effect/Schema";
export declare const PostPaymentLinksPaymentLinkInput: Schema.Struct<{
    readonly payment_link: Schema.String;
    readonly active: Schema.optional<Schema.Boolean>;
    readonly after_completion: Schema.optional<Schema.Struct<{
        readonly hosted_confirmation: Schema.optional<Schema.Struct<{
            readonly custom_message: Schema.optional<Schema.String>;
        }>>;
        readonly redirect: Schema.optional<Schema.Struct<{
            readonly url: Schema.String;
        }>>;
        readonly type: Schema.Literals<readonly ["hosted_confirmation", "redirect"]>;
    }>>;
    readonly allow_promotion_codes: Schema.optional<Schema.Boolean>;
    readonly automatic_tax: Schema.optional<Schema.Struct<{
        readonly enabled: Schema.Boolean;
        readonly liability: Schema.optional<Schema.Struct<{
            readonly account: Schema.optional<Schema.String>;
            readonly type: Schema.Literals<readonly ["account", "self"]>;
        }>>;
    }>>;
    readonly billing_address_collection: Schema.optional<Schema.Literals<readonly ["auto", "required"]>>;
    readonly custom_fields: Schema.optional<Schema.Unknown>;
    readonly custom_text: Schema.optional<Schema.Struct<{
        readonly after_submit: Schema.optional<Schema.Unknown>;
        readonly shipping_address: Schema.optional<Schema.Unknown>;
        readonly submit: Schema.optional<Schema.Unknown>;
        readonly terms_of_service_acceptance: Schema.optional<Schema.Unknown>;
    }>>;
    readonly customer_creation: Schema.optional<Schema.Literals<readonly ["always", "if_required"]>>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly inactive_message: Schema.optional<Schema.Unknown>;
    readonly invoice_creation: Schema.optional<Schema.Struct<{
        readonly enabled: Schema.Boolean;
        readonly invoice_data: Schema.optional<Schema.Struct<{
            readonly account_tax_ids: Schema.optional<Schema.Unknown>;
            readonly custom_fields: Schema.optional<Schema.Unknown>;
            readonly description: Schema.optional<Schema.String>;
            readonly footer: Schema.optional<Schema.String>;
            readonly issuer: Schema.optional<Schema.Struct<{
                readonly account: Schema.optional<Schema.String>;
                readonly type: Schema.Literals<readonly ["account", "self"]>;
            }>>;
            readonly metadata: Schema.optional<Schema.Unknown>;
            readonly rendering_options: Schema.optional<Schema.Unknown>;
        }>>;
    }>>;
    readonly line_items: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly adjustable_quantity: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly maximum: Schema.optional<Schema.Number>;
            readonly minimum: Schema.optional<Schema.Number>;
        }>>;
        readonly id: Schema.String;
        readonly quantity: Schema.optional<Schema.Number>;
    }>>>;
    readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
    readonly name_collection: Schema.optional<Schema.Unknown>;
    readonly optional_items: Schema.optional<Schema.Unknown>;
    readonly payment_intent_data: Schema.optional<Schema.Struct<{
        readonly description: Schema.optional<Schema.Unknown>;
        readonly metadata: Schema.optional<Schema.Unknown>;
        readonly statement_descriptor: Schema.optional<Schema.Unknown>;
        readonly statement_descriptor_suffix: Schema.optional<Schema.Unknown>;
        readonly transfer_group: Schema.optional<Schema.Unknown>;
    }>>;
    readonly payment_method_collection: Schema.optional<Schema.Literals<readonly ["always", "if_required"]>>;
    readonly payment_method_types: Schema.optional<Schema.Unknown>;
    readonly phone_number_collection: Schema.optional<Schema.Struct<{
        readonly enabled: Schema.Boolean;
    }>>;
    readonly restrictions: Schema.optional<Schema.Unknown>;
    readonly shipping_address_collection: Schema.optional<Schema.Unknown>;
    readonly submit_type: Schema.optional<Schema.Literals<readonly ["auto", "book", "donate", "pay", "subscribe"]>>;
    readonly subscription_data: Schema.optional<Schema.Struct<{
        readonly invoice_settings: Schema.optional<Schema.Struct<{
            readonly issuer: Schema.optional<Schema.Struct<{
                readonly account: Schema.optional<Schema.String>;
                readonly type: Schema.Literals<readonly ["account", "self"]>;
            }>>;
        }>>;
        readonly metadata: Schema.optional<Schema.Unknown>;
        readonly trial_period_days: Schema.optional<Schema.Unknown>;
        readonly trial_settings: Schema.optional<Schema.Unknown>;
    }>>;
    readonly tax_id_collection: Schema.optional<Schema.Struct<{
        readonly enabled: Schema.Boolean;
        readonly required: Schema.optional<Schema.Literals<readonly ["if_supported", "never"]>>;
    }>>;
}>;
export type PostPaymentLinksPaymentLinkInput = typeof PostPaymentLinksPaymentLinkInput.Type;
export declare const PostPaymentLinksPaymentLinkOutput: Schema.Struct<{
    readonly active: Schema.Boolean;
    readonly after_completion: Schema.Struct<{
        readonly hosted_confirmation: Schema.optional<Schema.Struct<{
            readonly custom_message: Schema.NullOr<Schema.String>;
        }>>;
        readonly redirect: Schema.optional<Schema.Struct<{
            readonly url: Schema.String;
        }>>;
        readonly type: Schema.Literals<readonly ["hosted_confirmation", "redirect"]>;
    }>;
    readonly allow_promotion_codes: Schema.Boolean;
    readonly application: Schema.Unknown;
    readonly application_fee_amount: Schema.NullOr<Schema.Number>;
    readonly application_fee_percent: Schema.NullOr<Schema.Number>;
    readonly automatic_tax: Schema.Struct<{
        readonly enabled: Schema.Boolean;
        readonly liability: Schema.Unknown;
    }>;
    readonly billing_address_collection: Schema.Literals<readonly ["auto", "required"]>;
    readonly consent_collection: Schema.Unknown;
    readonly currency: Schema.String;
    readonly custom_fields: Schema.$Array<Schema.Struct<{
        readonly dropdown: Schema.optional<Schema.Struct<{
            readonly default_value: Schema.NullOr<Schema.String>;
            readonly options: Schema.$Array<Schema.Struct<{
                readonly label: Schema.String;
                readonly value: Schema.String;
            }>>;
        }>>;
        readonly key: Schema.String;
        readonly label: Schema.Struct<{
            readonly custom: Schema.NullOr<Schema.String>;
            readonly type: Schema.Literals<readonly ["custom"]>;
        }>;
        readonly numeric: Schema.optional<Schema.Struct<{
            readonly default_value: Schema.NullOr<Schema.String>;
            readonly maximum_length: Schema.NullOr<Schema.Number>;
            readonly minimum_length: Schema.NullOr<Schema.Number>;
        }>>;
        readonly optional: Schema.Boolean;
        readonly text: Schema.optional<Schema.Struct<{
            readonly default_value: Schema.NullOr<Schema.String>;
            readonly maximum_length: Schema.NullOr<Schema.Number>;
            readonly minimum_length: Schema.NullOr<Schema.Number>;
        }>>;
        readonly type: Schema.Literals<readonly ["dropdown", "numeric", "text"]>;
    }>>;
    readonly custom_text: Schema.Struct<{
        readonly after_submit: Schema.Unknown;
        readonly shipping_address: Schema.Unknown;
        readonly submit: Schema.Unknown;
        readonly terms_of_service_acceptance: Schema.Unknown;
    }>;
    readonly customer_creation: Schema.Literals<readonly ["always", "if_required"]>;
    readonly id: Schema.String;
    readonly inactive_message: Schema.NullOr<Schema.String>;
    readonly invoice_creation: Schema.Unknown;
    readonly line_items: Schema.optional<Schema.Struct<{
        readonly data: Schema.$Array<Schema.Struct<{
            readonly adjustable_quantity: Schema.Unknown;
            readonly amount_discount: Schema.Number;
            readonly amount_subtotal: Schema.Number;
            readonly amount_tax: Schema.Number;
            readonly amount_total: Schema.Number;
            readonly currency: Schema.String;
            readonly description: Schema.NullOr<Schema.String>;
            readonly discounts: Schema.optional<Schema.$Array<Schema.Struct<{
                readonly amount: Schema.Number;
                readonly discount: Schema.Struct<{
                    readonly checkout_session: Schema.NullOr<Schema.String>;
                    readonly customer: Schema.Unknown;
                    readonly customer_account: Schema.NullOr<Schema.String>;
                    readonly end: Schema.NullOr<Schema.Number>;
                    readonly id: Schema.String;
                    readonly invoice: Schema.NullOr<Schema.String>;
                    readonly invoice_item: Schema.NullOr<Schema.String>;
                    readonly object: Schema.Literals<readonly ["discount"]>;
                    readonly promotion_code: Schema.Unknown;
                    readonly source: Schema.Struct<{
                        readonly coupon: Schema.Unknown;
                        readonly type: Schema.Literals<readonly ["coupon"]>;
                    }>;
                    readonly start: Schema.Number;
                    readonly subscription: Schema.NullOr<Schema.String>;
                    readonly subscription_item: Schema.NullOr<Schema.String>;
                }>;
            }>>>;
            readonly id: Schema.String;
            readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
            readonly object: Schema.Literals<readonly ["item"]>;
            readonly price: Schema.Unknown;
            readonly quantity: Schema.NullOr<Schema.Number>;
            readonly taxes: Schema.optional<Schema.$Array<Schema.Struct<{
                readonly amount: Schema.Number;
                readonly rate: 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 taxability_reason: Schema.NullOr<Schema.Literals<readonly ["customer_exempt", "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 has_more: Schema.Boolean;
        readonly object: Schema.Literals<readonly ["list"]>;
        readonly url: Schema.String;
    }>>;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.$Record<Schema.String, Schema.String>;
    readonly name_collection: Schema.optional<Schema.Struct<{
        readonly business: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly optional: Schema.Boolean;
        }>>;
        readonly individual: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly optional: Schema.Boolean;
        }>>;
    }>>;
    readonly object: Schema.Literals<readonly ["payment_link"]>;
    readonly on_behalf_of: Schema.Unknown;
    readonly optional_items: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly adjustable_quantity: Schema.Unknown;
        readonly price: Schema.String;
        readonly quantity: Schema.Number;
    }>>>>;
    readonly payment_intent_data: Schema.Unknown;
    readonly payment_method_collection: Schema.Literals<readonly ["always", "if_required"]>;
    readonly payment_method_types: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["affirm", "afterpay_clearpay", "alipay", "alma", "au_becs_debit", "bacs_debit", "bancontact", "billie", "blik", "boleto", "card", "cashapp", "eps", "fpx", "giropay", "grabpay", "ideal", "klarna", "konbini", "link", "mb_way", "mobilepay", "multibanco", "oxxo", "p24", "pay_by_bank", "paynow", "paypal", "payto", "pix", "promptpay", "satispay", "sepa_debit", "sofort", "swish", "twint", "us_bank_account", "wechat_pay", "zip"]>>>;
    readonly phone_number_collection: Schema.Struct<{
        readonly enabled: Schema.Boolean;
    }>;
    readonly restrictions: Schema.Unknown;
    readonly shipping_address_collection: Schema.Unknown;
    readonly shipping_options: Schema.$Array<Schema.Struct<{
        readonly shipping_amount: Schema.Number;
        readonly shipping_rate: Schema.Unknown;
    }>>;
    readonly submit_type: Schema.Literals<readonly ["auto", "book", "donate", "pay", "subscribe"]>;
    readonly subscription_data: Schema.Unknown;
    readonly tax_id_collection: Schema.Struct<{
        readonly enabled: Schema.Boolean;
        readonly required: Schema.Literals<readonly ["if_supported", "never"]>;
    }>;
    readonly transfer_data: Schema.Unknown;
    readonly url: Schema.String;
}>;
export type PostPaymentLinksPaymentLinkOutput = typeof PostPaymentLinksPaymentLinkOutput.Type;
/**
 * Update a payment link
 *
 * <p>Updates a payment link.</p>
 */
export declare const PostPaymentLinksPaymentLink: any;
//# sourceMappingURL=PostPaymentLinksPaymentLink.d.ts.map