import * as Schema from "effect/Schema";
export declare const PostBillingPortalConfigurationsInput: Schema.Struct<{
    readonly business_profile: Schema.optional<Schema.Struct<{
        readonly headline: Schema.optional<Schema.Unknown>;
        readonly privacy_policy_url: Schema.optional<Schema.String>;
        readonly terms_of_service_url: Schema.optional<Schema.String>;
    }>>;
    readonly default_return_url: Schema.optional<Schema.Unknown>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly features: Schema.Struct<{
        readonly customer_update: Schema.optional<Schema.Struct<{
            readonly allowed_updates: Schema.optional<Schema.Unknown>;
            readonly enabled: Schema.Boolean;
        }>>;
        readonly invoice_history: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
        }>>;
        readonly payment_method_update: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly payment_method_configuration: Schema.optional<Schema.Unknown>;
        }>>;
        readonly subscription_cancel: Schema.optional<Schema.Struct<{
            readonly cancellation_reason: Schema.optional<Schema.Struct<{
                readonly enabled: Schema.Boolean;
                readonly options: Schema.Unknown;
            }>>;
            readonly enabled: Schema.Boolean;
            readonly mode: Schema.optional<Schema.Literals<readonly ["at_period_end", "immediately"]>>;
            readonly proration_behavior: Schema.optional<Schema.Literals<readonly ["always_invoice", "create_prorations", "none"]>>;
        }>>;
        readonly subscription_update: Schema.optional<Schema.Struct<{
            readonly billing_cycle_anchor: Schema.optional<Schema.Literals<readonly ["now", "unchanged"]>>;
            readonly default_allowed_updates: Schema.optional<Schema.Unknown>;
            readonly enabled: Schema.Boolean;
            readonly products: Schema.optional<Schema.Unknown>;
            readonly proration_behavior: Schema.optional<Schema.Literals<readonly ["always_invoice", "create_prorations", "none"]>>;
            readonly schedule_at_period_end: Schema.optional<Schema.Struct<{
                readonly conditions: Schema.optional<Schema.$Array<Schema.Struct<{
                    readonly type: Schema.Literals<readonly ["decreasing_item_amount", "shortening_interval"]>;
                }>>>;
            }>>;
            readonly trial_update_behavior: Schema.optional<Schema.Literals<readonly ["continue_trial", "end_trial"]>>;
        }>>;
    }>;
    readonly login_page: Schema.optional<Schema.Struct<{
        readonly enabled: Schema.Boolean;
    }>>;
    readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
    readonly name: Schema.optional<Schema.Unknown>;
}>;
export type PostBillingPortalConfigurationsInput = typeof PostBillingPortalConfigurationsInput.Type;
export declare const PostBillingPortalConfigurationsOutput: 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;
}>;
export type PostBillingPortalConfigurationsOutput = typeof PostBillingPortalConfigurationsOutput.Type;
/**
 * Create a portal configuration
 *
 * <p>Creates a configuration that describes the functionality and behavior of a PortalSession</p>
 */
export declare const PostBillingPortalConfigurations: import("@distilled.cloud/core/client").OperationMethod<{
    readonly business_profile?: {
        readonly headline?: unknown;
        readonly privacy_policy_url?: string | undefined;
        readonly terms_of_service_url?: string | undefined;
    } | undefined;
    readonly default_return_url?: unknown;
    readonly expand?: readonly string[] | undefined;
    readonly features: {
        readonly customer_update?: {
            readonly allowed_updates?: unknown;
            readonly enabled: boolean;
        } | undefined;
        readonly invoice_history?: {
            readonly enabled: boolean;
        } | undefined;
        readonly payment_method_update?: {
            readonly enabled: boolean;
            readonly payment_method_configuration?: unknown;
        } | undefined;
        readonly subscription_cancel?: {
            readonly cancellation_reason?: {
                readonly enabled: boolean;
                readonly options: unknown;
            } | undefined;
            readonly enabled: boolean;
            readonly mode?: "at_period_end" | "immediately" | undefined;
            readonly proration_behavior?: "always_invoice" | "create_prorations" | "none" | undefined;
        } | undefined;
        readonly subscription_update?: {
            readonly billing_cycle_anchor?: "now" | "unchanged" | undefined;
            readonly default_allowed_updates?: unknown;
            readonly enabled: boolean;
            readonly products?: unknown;
            readonly proration_behavior?: "always_invoice" | "create_prorations" | "none" | undefined;
            readonly schedule_at_period_end?: {
                readonly conditions?: readonly {
                    readonly type: "decreasing_item_amount" | "shortening_interval";
                }[] | undefined;
            } | undefined;
            readonly trial_update_behavior?: "continue_trial" | "end_trial" | undefined;
        } | undefined;
    };
    readonly login_page?: {
        readonly enabled: boolean;
    } | undefined;
    readonly metadata?: {
        readonly [x: string]: string;
    } | undefined;
    readonly name?: unknown;
}, {
    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;
}, never, any>;
//# sourceMappingURL=PostBillingPortalConfigurations.d.ts.map