import * as Schema from "effect/Schema";
export declare const GetSubscriptionsInput: Schema.Struct<{
    readonly automatic_tax: Schema.optional<Schema.String>;
    readonly collection_method: Schema.optional<Schema.Literals<readonly ["charge_automatically", "send_invoice"]>>;
    readonly created: Schema.optional<Schema.String>;
    readonly current_period_end: Schema.optional<Schema.String>;
    readonly current_period_start: Schema.optional<Schema.String>;
    readonly customer: Schema.optional<Schema.String>;
    readonly customer_account: Schema.optional<Schema.String>;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly plan: Schema.optional<Schema.String>;
    readonly price: Schema.optional<Schema.String>;
    readonly starting_after: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["active", "all", "canceled", "ended", "incomplete", "incomplete_expired", "past_due", "paused", "trialing", "unpaid"]>>;
    readonly test_clock: Schema.optional<Schema.String>;
}>;
export type GetSubscriptionsInput = typeof GetSubscriptionsInput.Type;
export declare const GetSubscriptionsOutput: Schema.Struct<{
    readonly data: Schema.$Array<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>;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetSubscriptionsOutput = typeof GetSubscriptionsOutput.Type;
/**
 * List subscriptions
 *
 * <p>By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify <code>status=canceled</code>.</p>
 *
 * @param automatic_tax - Filter subscriptions by their automatic tax settings.
 * @param collection_method - The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
 * @param created - Only return subscriptions that were created during the given date interval.
 * @param current_period_end - Only return subscriptions whose minimum item current_period_end falls within the given date interval.
 * @param current_period_start - Only return subscriptions whose maximum item current_period_start falls within the given date interval.
 * @param customer - The ID of the customer whose subscriptions you're retrieving.
 * @param customer_account - The ID of the account representing the customer whose subscriptions you're retrieving.
 * @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 plan - The ID of the plan whose subscriptions will be retrieved.
 * @param price - Filter for subscriptions that contain this recurring price ID.
 * @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.
 * @param status - The status of the subscriptions to retrieve. Passing in a value of `canceled` will return all canceled subscriptions, including those belonging to deleted customers. Pass `ended` to find subscriptions that are canceled and subscriptions that are expired due to [incomplete payment](https://docs.stripe.com/billing/subscriptions/overview#subscription-statuses). Passing in a value of `all` will return subscriptions of all statuses. If no value is supplied, all subscriptions that have not been canceled are returned.
 * @param test_clock - Filter for subscriptions that are associated with the specified test clock. The response will not include subscriptions with test clocks if this and the customer parameter is not set.
 */
export declare const GetSubscriptions: import("@distilled.cloud/core/client").OperationMethod<{
    readonly automatic_tax?: string | undefined;
    readonly collection_method?: "charge_automatically" | "send_invoice" | undefined;
    readonly created?: string | undefined;
    readonly current_period_end?: string | undefined;
    readonly current_period_start?: string | undefined;
    readonly customer?: string | undefined;
    readonly customer_account?: string | undefined;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly limit?: number | undefined;
    readonly plan?: string | undefined;
    readonly price?: string | undefined;
    readonly starting_after?: string | undefined;
    readonly status?: "active" | "all" | "canceled" | "ended" | "incomplete" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid" | undefined;
    readonly test_clock?: string | undefined;
}, {
    readonly data: readonly {
        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;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetSubscriptions.d.ts.map