import * as Schema from "effect/Schema";
export declare const GetBillingPortalConfigurationsInput: Schema.Struct<{
    readonly active: Schema.optional<Schema.Boolean>;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly is_default: Schema.optional<Schema.Boolean>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly starting_after: Schema.optional<Schema.String>;
}>;
export type GetBillingPortalConfigurationsInput = typeof GetBillingPortalConfigurationsInput.Type;
export declare const GetBillingPortalConfigurationsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly active: Schema.Boolean;
        readonly application: Schema.Unknown;
        readonly business_profile: Schema.Struct<{
            readonly headline: Schema.NullOr<Schema.String>;
            readonly privacy_policy_url: Schema.NullOr<Schema.String>;
            readonly terms_of_service_url: Schema.NullOr<Schema.String>;
        }>;
        readonly created: Schema.Number;
        readonly default_return_url: Schema.NullOr<Schema.String>;
        readonly features: Schema.Struct<{
            readonly customer_update: Schema.Struct<{
                readonly allowed_updates: Schema.$Array<Schema.Literals<readonly ["address", "email", "name", "phone", "shipping", "tax_id"]>>;
                readonly enabled: Schema.Boolean;
            }>;
            readonly invoice_history: Schema.Struct<{
                readonly enabled: Schema.Boolean;
            }>;
            readonly payment_method_update: Schema.Struct<{
                readonly enabled: Schema.Boolean;
                readonly payment_method_configuration: Schema.NullOr<Schema.String>;
            }>;
            readonly subscription_cancel: Schema.Struct<{
                readonly cancellation_reason: Schema.Struct<{
                    readonly enabled: Schema.Boolean;
                    readonly options: Schema.$Array<Schema.Literals<readonly ["customer_service", "low_quality", "missing_features", "other", "switched_service", "too_complex", "too_expensive", "unused"]>>;
                }>;
                readonly enabled: Schema.Boolean;
                readonly mode: Schema.Literals<readonly ["at_period_end", "immediately"]>;
                readonly proration_behavior: Schema.Literals<readonly ["always_invoice", "create_prorations", "none"]>;
            }>;
            readonly subscription_update: Schema.Struct<{
                readonly billing_cycle_anchor: Schema.NullOr<Schema.Literals<readonly ["now", "unchanged"]>>;
                readonly default_allowed_updates: Schema.$Array<Schema.Literals<readonly ["price", "promotion_code", "quantity"]>>;
                readonly enabled: Schema.Boolean;
                readonly products: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                    readonly adjustable_quantity: Schema.Struct<{
                        readonly enabled: Schema.Boolean;
                        readonly maximum: Schema.NullOr<Schema.Number>;
                        readonly minimum: Schema.Number;
                    }>;
                    readonly prices: Schema.$Array<Schema.String>;
                    readonly product: Schema.String;
                }>>>>;
                readonly proration_behavior: Schema.Literals<readonly ["always_invoice", "create_prorations", "none"]>;
                readonly schedule_at_period_end: Schema.Struct<{
                    readonly conditions: Schema.$Array<Schema.Struct<{
                        readonly type: Schema.Literals<readonly ["decreasing_item_amount", "shortening_interval"]>;
                    }>>;
                }>;
                readonly trial_update_behavior: Schema.Literals<readonly ["continue_trial", "end_trial"]>;
            }>;
        }>;
        readonly id: Schema.String;
        readonly is_default: Schema.Boolean;
        readonly livemode: Schema.Boolean;
        readonly login_page: Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly url: Schema.NullOr<Schema.String>;
        }>;
        readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
        readonly name: Schema.NullOr<Schema.String>;
        readonly object: Schema.Literals<readonly ["billing_portal.configuration"]>;
        readonly updated: Schema.Number;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetBillingPortalConfigurationsOutput = typeof GetBillingPortalConfigurationsOutput.Type;
/**
 * List portal configurations
 *
 * <p>Returns a list of configurations that describe the functionality of the customer portal.</p>
 *
 * @param active - Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).
 * @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 is_default - Only return the default or non-default configurations (e.g., pass `true` to only list the default configuration).
 * @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 GetBillingPortalConfigurations: import("@distilled.cloud/core/client").OperationMethod<{
    readonly active?: boolean | undefined;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly is_default?: boolean | undefined;
    readonly limit?: number | undefined;
    readonly starting_after?: string | undefined;
}, {
    readonly data: readonly {
        readonly active: boolean;
        readonly application: unknown;
        readonly business_profile: {
            readonly headline: string | null;
            readonly privacy_policy_url: string | null;
            readonly terms_of_service_url: string | null;
        };
        readonly created: number;
        readonly default_return_url: string | null;
        readonly features: {
            readonly customer_update: {
                readonly allowed_updates: readonly ("address" | "email" | "name" | "phone" | "shipping" | "tax_id")[];
                readonly enabled: boolean;
            };
            readonly invoice_history: {
                readonly enabled: boolean;
            };
            readonly payment_method_update: {
                readonly enabled: boolean;
                readonly payment_method_configuration: string | null;
            };
            readonly subscription_cancel: {
                readonly cancellation_reason: {
                    readonly enabled: boolean;
                    readonly options: readonly ("customer_service" | "low_quality" | "missing_features" | "other" | "switched_service" | "too_complex" | "too_expensive" | "unused")[];
                };
                readonly enabled: boolean;
                readonly mode: "at_period_end" | "immediately";
                readonly proration_behavior: "always_invoice" | "create_prorations" | "none";
            };
            readonly subscription_update: {
                readonly billing_cycle_anchor: "now" | "unchanged" | null;
                readonly default_allowed_updates: readonly ("price" | "promotion_code" | "quantity")[];
                readonly enabled: boolean;
                readonly products?: readonly {
                    readonly adjustable_quantity: {
                        readonly enabled: boolean;
                        readonly maximum: number | null;
                        readonly minimum: number;
                    };
                    readonly prices: readonly string[];
                    readonly product: string;
                }[] | null | undefined;
                readonly proration_behavior: "always_invoice" | "create_prorations" | "none";
                readonly schedule_at_period_end: {
                    readonly conditions: readonly {
                        readonly type: "decreasing_item_amount" | "shortening_interval";
                    }[];
                };
                readonly trial_update_behavior: "continue_trial" | "end_trial";
            };
        };
        readonly id: string;
        readonly is_default: boolean;
        readonly livemode: boolean;
        readonly login_page: {
            readonly enabled: boolean;
            readonly url: string | null;
        };
        readonly metadata: {
            readonly [x: string]: string;
        } | null;
        readonly name: string | null;
        readonly object: "billing_portal.configuration";
        readonly updated: number;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetBillingPortalConfigurations.d.ts.map