import * as Schema from "effect/Schema";
export declare const DeleteSubscriptionsSubscriptionExposedIdInput: Schema.Struct<{
    readonly subscription_exposed_id: Schema.String;
    readonly cancellation_details: Schema.optional<Schema.Struct<{
        readonly comment: Schema.optional<Schema.Unknown>;
        readonly feedback: Schema.optional<Schema.Literals<readonly ["", "customer_service", "low_quality", "missing_features", "other", "switched_service", "too_complex", "too_expensive", "unused"]>>;
    }>>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly invoice_now: Schema.optional<Schema.Boolean>;
    readonly prorate: Schema.optional<Schema.Boolean>;
}>;
export type DeleteSubscriptionsSubscriptionExposedIdInput = typeof DeleteSubscriptionsSubscriptionExposedIdInput.Type;
export declare const DeleteSubscriptionsSubscriptionExposedIdOutput: Schema.Struct<{
    readonly application: Schema.Unknown;
    readonly application_fee_percent: Schema.NullOr<Schema.Number>;
    readonly automatic_tax: Schema.Struct<{
        readonly disabled_reason: Schema.NullOr<Schema.Literals<readonly ["requires_location_inputs"]>>;
        readonly enabled: Schema.Boolean;
        readonly liability: Schema.Unknown;
    }>;
    readonly billing_cycle_anchor: Schema.Number;
    readonly billing_cycle_anchor_config: Schema.Unknown;
    readonly billing_mode: Schema.Struct<{
        readonly flexible: Schema.Unknown;
        readonly type: Schema.Literals<readonly ["classic", "flexible"]>;
        readonly updated_at: Schema.optional<Schema.Number>;
    }>;
    readonly billing_thresholds: Schema.Unknown;
    readonly cancel_at: Schema.NullOr<Schema.Number>;
    readonly cancel_at_period_end: Schema.Boolean;
    readonly canceled_at: Schema.NullOr<Schema.Number>;
    readonly cancellation_details: Schema.Unknown;
    readonly collection_method: Schema.Literals<readonly ["charge_automatically", "send_invoice"]>;
    readonly created: Schema.Number;
    readonly currency: Schema.String;
    readonly customer: Schema.Unknown;
    readonly customer_account: Schema.NullOr<Schema.String>;
    readonly days_until_due: Schema.NullOr<Schema.Number>;
    readonly default_payment_method: Schema.Unknown;
    readonly default_source: Schema.Unknown;
    readonly default_tax_rates: Schema.optional<Schema.NullOr<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 description: Schema.NullOr<Schema.String>;
    readonly discounts: Schema.$Array<Schema.Unknown>;
    readonly ended_at: Schema.NullOr<Schema.Number>;
    readonly id: Schema.String;
    readonly invoice_settings: Schema.Struct<{
        readonly account_tax_ids: Schema.NullOr<Schema.$Array<Schema.Unknown>>;
        readonly issuer: Schema.Struct<{
            readonly account: Schema.optional<Schema.Unknown>;
            readonly type: Schema.Literals<readonly ["account", "self"]>;
        }>;
    }>;
    readonly items: Schema.Struct<{
        readonly data: Schema.$Array<Schema.Struct<{
            readonly billing_thresholds: Schema.Unknown;
            readonly created: Schema.Number;
            readonly current_period_end: Schema.Number;
            readonly current_period_start: Schema.Number;
            readonly discounts: Schema.$Array<Schema.Unknown>;
            readonly id: Schema.String;
            readonly metadata: Schema.$Record<Schema.String, Schema.String>;
            readonly object: Schema.Literals<readonly ["subscription_item"]>;
            readonly plan: Schema.Struct<{
                readonly active: Schema.Boolean;
                readonly amount: Schema.NullOr<Schema.Number>;
                readonly amount_decimal: Schema.NullOr<Schema.String>;
                readonly billing_scheme: Schema.Literals<readonly ["per_unit", "tiered"]>;
                readonly created: Schema.Number;
                readonly currency: Schema.String;
                readonly id: Schema.String;
                readonly interval: Schema.Literals<readonly ["day", "month", "week", "year"]>;
                readonly interval_count: Schema.Number;
                readonly livemode: Schema.Boolean;
                readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
                readonly meter: Schema.NullOr<Schema.String>;
                readonly nickname: Schema.NullOr<Schema.String>;
                readonly object: Schema.Literals<readonly ["plan"]>;
                readonly product: Schema.Unknown;
                readonly tiers: Schema.optional<Schema.$Array<Schema.Struct<{
                    readonly flat_amount: Schema.NullOr<Schema.Number>;
                    readonly flat_amount_decimal: Schema.NullOr<Schema.String>;
                    readonly unit_amount: Schema.NullOr<Schema.Number>;
                    readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
                    readonly up_to: Schema.NullOr<Schema.Number>;
                }>>>;
                readonly tiers_mode: Schema.NullOr<Schema.Literals<readonly ["graduated", "volume"]>>;
                readonly transform_usage: Schema.Unknown;
                readonly trial_period_days: Schema.NullOr<Schema.Number>;
                readonly usage_type: Schema.Literals<readonly ["licensed", "metered"]>;
            }>;
            readonly price: Schema.Struct<{
                readonly active: Schema.Boolean;
                readonly billing_scheme: Schema.Literals<readonly ["per_unit", "tiered"]>;
                readonly created: Schema.Number;
                readonly currency: Schema.String;
                readonly currency_options: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
                    readonly custom_unit_amount: Schema.Unknown;
                    readonly tax_behavior: Schema.NullOr<Schema.Literals<readonly ["exclusive", "inclusive", "unspecified"]>>;
                    readonly tiers: Schema.optional<Schema.$Array<Schema.Struct<{
                        readonly flat_amount: Schema.NullOr<Schema.Number>;
                        readonly flat_amount_decimal: Schema.NullOr<Schema.String>;
                        readonly unit_amount: Schema.NullOr<Schema.Number>;
                        readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
                        readonly up_to: Schema.NullOr<Schema.Number>;
                    }>>>;
                    readonly unit_amount: Schema.NullOr<Schema.Number>;
                    readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
                }>>>;
                readonly custom_unit_amount: Schema.Unknown;
                readonly id: Schema.String;
                readonly livemode: Schema.Boolean;
                readonly lookup_key: Schema.NullOr<Schema.String>;
                readonly metadata: Schema.$Record<Schema.String, Schema.String>;
                readonly nickname: Schema.NullOr<Schema.String>;
                readonly object: Schema.Literals<readonly ["price"]>;
                readonly product: Schema.Unknown;
                readonly recurring: Schema.Unknown;
                readonly tax_behavior: Schema.NullOr<Schema.Literals<readonly ["exclusive", "inclusive", "unspecified"]>>;
                readonly tiers: Schema.optional<Schema.$Array<Schema.Struct<{
                    readonly flat_amount: Schema.NullOr<Schema.Number>;
                    readonly flat_amount_decimal: Schema.NullOr<Schema.String>;
                    readonly unit_amount: Schema.NullOr<Schema.Number>;
                    readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
                    readonly up_to: Schema.NullOr<Schema.Number>;
                }>>>;
                readonly tiers_mode: Schema.NullOr<Schema.Literals<readonly ["graduated", "volume"]>>;
                readonly transform_quantity: Schema.Unknown;
                readonly type: Schema.Literals<readonly ["one_time", "recurring"]>;
                readonly unit_amount: Schema.NullOr<Schema.Number>;
                readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
            }>;
            readonly quantity: Schema.optional<Schema.Number>;
            readonly subscription: Schema.String;
            readonly tax_rates: Schema.NullOr<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 has_more: Schema.Boolean;
        readonly object: Schema.Literals<readonly ["list"]>;
        readonly url: Schema.String;
    }>;
    readonly latest_invoice: Schema.Unknown;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.$Record<Schema.String, Schema.String>;
    readonly next_pending_invoice_item_invoice: Schema.NullOr<Schema.Number>;
    readonly object: Schema.Literals<readonly ["subscription"]>;
    readonly on_behalf_of: Schema.Unknown;
    readonly pause_collection: Schema.Unknown;
    readonly payment_settings: Schema.Unknown;
    readonly pending_invoice_item_interval: Schema.Unknown;
    readonly pending_setup_intent: Schema.Unknown;
    readonly pending_update: Schema.Unknown;
    readonly presentment_details: Schema.optional<Schema.Struct<{
        readonly presentment_currency: Schema.String;
    }>>;
    readonly schedule: Schema.Unknown;
    readonly start_date: Schema.Number;
    readonly status: Schema.Literals<readonly ["active", "canceled", "incomplete", "incomplete_expired", "past_due", "paused", "trialing", "unpaid"]>;
    readonly test_clock: Schema.Unknown;
    readonly transfer_data: Schema.Unknown;
    readonly trial_end: Schema.NullOr<Schema.Number>;
    readonly trial_settings: Schema.Unknown;
    readonly trial_start: Schema.NullOr<Schema.Number>;
}>;
export type DeleteSubscriptionsSubscriptionExposedIdOutput = typeof DeleteSubscriptionsSubscriptionExposedIdOutput.Type;
/**
 * Cancel a subscription
 *
 * <p>Cancels a customer’s subscription immediately. The customer won’t be charged again for the subscription. After it’s canceled, you can no longer update the subscription or its <a href="/metadata">metadata</a>.</p>
 * <p>Any pending invoice items that you’ve created are still charged at the end of the period, unless manually <a href="/api/invoiceitems/delete">deleted</a>. If you’ve set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if <code>invoice_now</code> and <code>prorate</code> are both set to true.</p>
 * <p>By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.</p>
 */
export declare const DeleteSubscriptionsSubscriptionExposedId: import("@distilled.cloud/core/client").OperationMethod<{
    readonly cancellation_details?: {
        readonly comment?: unknown;
        readonly feedback?: "" | "customer_service" | "low_quality" | "missing_features" | "other" | "switched_service" | "too_complex" | "too_expensive" | "unused" | undefined;
    } | undefined;
    readonly expand?: readonly string[] | undefined;
    readonly invoice_now?: boolean | undefined;
    readonly prorate?: boolean | undefined;
    readonly subscription_exposed_id: string;
}, {
    readonly application: unknown;
    readonly application_fee_percent: number | null;
    readonly automatic_tax: {
        readonly disabled_reason: "requires_location_inputs" | null;
        readonly enabled: boolean;
        readonly liability: unknown;
    };
    readonly billing_cycle_anchor: number;
    readonly billing_cycle_anchor_config: unknown;
    readonly billing_mode: {
        readonly flexible: unknown;
        readonly type: "classic" | "flexible";
        readonly updated_at?: number | undefined;
    };
    readonly billing_thresholds: unknown;
    readonly cancel_at: number | null;
    readonly cancel_at_period_end: boolean;
    readonly canceled_at: number | null;
    readonly cancellation_details: unknown;
    readonly collection_method: "charge_automatically" | "send_invoice";
    readonly created: number;
    readonly currency: string;
    readonly customer: unknown;
    readonly customer_account: string | null;
    readonly days_until_due: number | null;
    readonly default_payment_method: unknown;
    readonly default_source: unknown;
    readonly default_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;
    }[] | null | undefined;
    readonly description: string | null;
    readonly discounts: readonly unknown[];
    readonly ended_at: number | null;
    readonly id: string;
    readonly invoice_settings: {
        readonly account_tax_ids: readonly unknown[] | null;
        readonly issuer: {
            readonly account?: unknown;
            readonly type: "account" | "self";
        };
    };
    readonly items: {
        readonly data: readonly {
            readonly billing_thresholds: unknown;
            readonly created: number;
            readonly current_period_end: number;
            readonly current_period_start: number;
            readonly discounts: readonly unknown[];
            readonly id: string;
            readonly metadata: {
                readonly [x: string]: string;
            };
            readonly object: "subscription_item";
            readonly plan: {
                readonly active: boolean;
                readonly amount: number | null;
                readonly amount_decimal: string | null;
                readonly billing_scheme: "per_unit" | "tiered";
                readonly created: number;
                readonly currency: string;
                readonly id: string;
                readonly interval: "day" | "month" | "week" | "year";
                readonly interval_count: number;
                readonly livemode: boolean;
                readonly metadata: {
                    readonly [x: string]: string;
                } | null;
                readonly meter: string | null;
                readonly nickname: string | null;
                readonly object: "plan";
                readonly product: unknown;
                readonly tiers?: readonly {
                    readonly flat_amount: number | null;
                    readonly flat_amount_decimal: string | null;
                    readonly unit_amount: number | null;
                    readonly unit_amount_decimal: string | null;
                    readonly up_to: number | null;
                }[] | undefined;
                readonly tiers_mode: "graduated" | "volume" | null;
                readonly transform_usage: unknown;
                readonly trial_period_days: number | null;
                readonly usage_type: "licensed" | "metered";
            };
            readonly price: {
                readonly active: boolean;
                readonly billing_scheme: "per_unit" | "tiered";
                readonly created: number;
                readonly currency: string;
                readonly currency_options?: {
                    readonly [x: string]: {
                        readonly custom_unit_amount: unknown;
                        readonly tax_behavior: "exclusive" | "inclusive" | "unspecified" | null;
                        readonly tiers?: readonly {
                            readonly flat_amount: number | null;
                            readonly flat_amount_decimal: string | null;
                            readonly unit_amount: number | null;
                            readonly unit_amount_decimal: string | null;
                            readonly up_to: number | null;
                        }[] | undefined;
                        readonly unit_amount: number | null;
                        readonly unit_amount_decimal: string | null;
                    };
                } | undefined;
                readonly custom_unit_amount: unknown;
                readonly id: string;
                readonly livemode: boolean;
                readonly lookup_key: string | null;
                readonly metadata: {
                    readonly [x: string]: string;
                };
                readonly nickname: string | null;
                readonly object: "price";
                readonly product: unknown;
                readonly recurring: unknown;
                readonly tax_behavior: "exclusive" | "inclusive" | "unspecified" | null;
                readonly tiers?: readonly {
                    readonly flat_amount: number | null;
                    readonly flat_amount_decimal: string | null;
                    readonly unit_amount: number | null;
                    readonly unit_amount_decimal: string | null;
                    readonly up_to: number | null;
                }[] | undefined;
                readonly tiers_mode: "graduated" | "volume" | null;
                readonly transform_quantity: unknown;
                readonly type: "one_time" | "recurring";
                readonly unit_amount: number | null;
                readonly unit_amount_decimal: string | null;
            };
            readonly quantity?: number | undefined;
            readonly subscription: string;
            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;
            }[] | null;
        }[];
        readonly has_more: boolean;
        readonly object: "list";
        readonly url: string;
    };
    readonly latest_invoice: unknown;
    readonly livemode: boolean;
    readonly metadata: {
        readonly [x: string]: string;
    };
    readonly next_pending_invoice_item_invoice: number | null;
    readonly object: "subscription";
    readonly on_behalf_of: unknown;
    readonly pause_collection: unknown;
    readonly payment_settings: unknown;
    readonly pending_invoice_item_interval: unknown;
    readonly pending_setup_intent: unknown;
    readonly pending_update: unknown;
    readonly presentment_details?: {
        readonly presentment_currency: string;
    } | undefined;
    readonly schedule: unknown;
    readonly start_date: number;
    readonly status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
    readonly test_clock: unknown;
    readonly transfer_data: unknown;
    readonly trial_end: number | null;
    readonly trial_settings: unknown;
    readonly trial_start: number | null;
}, never, any>;
//# sourceMappingURL=DeleteSubscriptionsSubscriptionExposedId.d.ts.map