import * as Schema from "effect/Schema";
export declare const GetCheckoutSessionsInput: Schema.Struct<{
    readonly created: Schema.optional<Schema.String>;
    readonly customer: Schema.optional<Schema.String>;
    readonly customer_account: Schema.optional<Schema.String>;
    readonly customer_details: Schema.optional<Schema.String>;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly payment_intent: Schema.optional<Schema.String>;
    readonly payment_link: Schema.optional<Schema.String>;
    readonly starting_after: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["complete", "expired", "open"]>>;
    readonly subscription: Schema.optional<Schema.String>;
}>;
export type GetCheckoutSessionsInput = typeof GetCheckoutSessionsInput.Type;
export declare const GetCheckoutSessionsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly adaptive_pricing: Schema.Unknown;
        readonly after_expiration: Schema.Unknown;
        readonly allow_promotion_codes: Schema.NullOr<Schema.Boolean>;
        readonly amount_subtotal: Schema.NullOr<Schema.Number>;
        readonly amount_total: Schema.NullOr<Schema.Number>;
        readonly automatic_tax: Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly liability: Schema.Unknown;
            readonly provider: Schema.NullOr<Schema.String>;
            readonly status: Schema.NullOr<Schema.Literals<readonly ["complete", "failed", "requires_location_inputs"]>>;
        }>;
        readonly billing_address_collection: Schema.NullOr<Schema.Literals<readonly ["auto", "required"]>>;
        readonly branding_settings: Schema.optional<Schema.Struct<{
            readonly background_color: Schema.String;
            readonly border_style: Schema.Literals<readonly ["pill", "rectangular", "rounded"]>;
            readonly button_color: Schema.String;
            readonly display_name: Schema.String;
            readonly font_family: Schema.String;
            readonly icon: Schema.Unknown;
            readonly logo: Schema.Unknown;
        }>>;
        readonly cancel_url: Schema.NullOr<Schema.String>;
        readonly client_reference_id: Schema.NullOr<Schema.String>;
        readonly client_secret: Schema.NullOr<Schema.Schema<string | import("effect/Redacted").Redacted<string>>>;
        readonly collected_information: Schema.Unknown;
        readonly consent: Schema.Unknown;
        readonly consent_collection: Schema.Unknown;
        readonly created: Schema.Number;
        readonly currency: Schema.NullOr<Schema.String>;
        readonly currency_conversion: Schema.Unknown;
        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 value: Schema.NullOr<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 value: Schema.NullOr<Schema.String>;
            }>>;
            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 value: Schema.NullOr<Schema.String>;
            }>>;
            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: Schema.Unknown;
        readonly customer_account: Schema.NullOr<Schema.String>;
        readonly customer_creation: Schema.NullOr<Schema.Literals<readonly ["always", "if_required"]>>;
        readonly customer_details: Schema.Unknown;
        readonly customer_email: Schema.NullOr<Schema.String>;
        readonly discounts: Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly coupon: Schema.Unknown;
            readonly promotion_code: Schema.Unknown;
        }>>>;
        readonly excluded_payment_method_types: Schema.optional<Schema.$Array<Schema.String>>;
        readonly expires_at: Schema.Number;
        readonly id: Schema.String;
        readonly integration_identifier: Schema.NullOr<Schema.String>;
        readonly invoice: Schema.Unknown;
        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 locale: Schema.NullOr<Schema.Literals<readonly ["auto", "bg", "cs", "da", "de", "el", "en", "en-GB", "es", "es-419", "et", "fi", "fil", "fr", "fr-CA", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "ms", "mt", "nb", "nl", "pl", "pt", "pt-BR", "ro", "ru", "sk", "sl", "sv", "th", "tr", "vi", "zh", "zh-HK", "zh-TW"]>>;
        readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
        readonly mode: Schema.Literals<readonly ["payment", "setup", "subscription"]>;
        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 ["checkout.session"]>;
        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 origin_context: Schema.NullOr<Schema.Literals<readonly ["mobile_app", "web"]>>;
        readonly payment_intent: Schema.Unknown;
        readonly payment_link: Schema.Unknown;
        readonly payment_method_collection: Schema.NullOr<Schema.Literals<readonly ["always", "if_required"]>>;
        readonly payment_method_configuration_details: Schema.Unknown;
        readonly payment_method_options: Schema.Unknown;
        readonly payment_method_types: Schema.$Array<Schema.String>;
        readonly payment_status: Schema.Literals<readonly ["no_payment_required", "paid", "unpaid"]>;
        readonly permissions: Schema.Unknown;
        readonly phone_number_collection: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
        }>>;
        readonly presentment_details: Schema.optional<Schema.Struct<{
            readonly presentment_amount: Schema.Number;
            readonly presentment_currency: Schema.String;
        }>>;
        readonly recovered_from: Schema.NullOr<Schema.String>;
        readonly redirect_on_completion: Schema.optional<Schema.Literals<readonly ["always", "if_required", "never"]>>;
        readonly return_url: Schema.optional<Schema.String>;
        readonly saved_payment_method_options: Schema.Unknown;
        readonly setup_intent: Schema.Unknown;
        readonly shipping_address_collection: Schema.Unknown;
        readonly shipping_cost: Schema.Unknown;
        readonly shipping_options: Schema.$Array<Schema.Struct<{
            readonly shipping_amount: Schema.Number;
            readonly shipping_rate: Schema.Unknown;
        }>>;
        readonly status: Schema.NullOr<Schema.Literals<readonly ["complete", "expired", "open"]>>;
        readonly submit_type: Schema.NullOr<Schema.Literals<readonly ["auto", "book", "donate", "pay", "subscribe"]>>;
        readonly subscription: Schema.Unknown;
        readonly success_url: Schema.NullOr<Schema.String>;
        readonly tax_id_collection: Schema.optional<Schema.Struct<{
            readonly enabled: Schema.Boolean;
            readonly required: Schema.Literals<readonly ["if_supported", "never"]>;
        }>>;
        readonly total_details: Schema.Unknown;
        readonly ui_mode: Schema.NullOr<Schema.Literals<readonly ["elements", "embedded_page", "form", "hosted_page"]>>;
        readonly url: Schema.NullOr<Schema.String>;
        readonly wallet_options: Schema.Unknown;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetCheckoutSessionsOutput = typeof GetCheckoutSessionsOutput.Type;
/**
 * List all Checkout Sessions
 *
 * <p>Returns a list of Checkout Sessions.</p>
 *
 * @param created - Only return Checkout Sessions that were created during the given date interval.
 * @param customer - Only return the Checkout Sessions for the Customer specified.
 * @param customer_account - Only return the Checkout Sessions for the Account specified.
 * @param customer_details - Only return the Checkout Sessions for the Customer details specified.
 * @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 payment_intent - Only return the Checkout Session for the PaymentIntent specified.
 * @param payment_link - Only return the Checkout Sessions for the Payment Link specified.
 * @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 - Only return the Checkout Sessions matching the given status.
 * @param subscription - Only return the Checkout Session for the subscription specified.
 */
export declare const GetCheckoutSessions: import("@distilled.cloud/core/client").OperationMethod<{
    readonly created?: string | undefined;
    readonly customer?: string | undefined;
    readonly customer_account?: string | undefined;
    readonly customer_details?: string | undefined;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly limit?: number | undefined;
    readonly payment_intent?: string | undefined;
    readonly payment_link?: string | undefined;
    readonly starting_after?: string | undefined;
    readonly status?: "complete" | "expired" | "open" | undefined;
    readonly subscription?: string | undefined;
}, {
    readonly data: readonly {
        readonly adaptive_pricing: unknown;
        readonly after_expiration: unknown;
        readonly allow_promotion_codes: boolean | null;
        readonly amount_subtotal: number | null;
        readonly amount_total: number | null;
        readonly automatic_tax: {
            readonly enabled: boolean;
            readonly liability: unknown;
            readonly provider: string | null;
            readonly status: "complete" | "failed" | "requires_location_inputs" | null;
        };
        readonly billing_address_collection: "auto" | "required" | null;
        readonly branding_settings?: {
            readonly background_color: string;
            readonly border_style: "pill" | "rectangular" | "rounded";
            readonly button_color: string;
            readonly display_name: string;
            readonly font_family: string;
            readonly icon: unknown;
            readonly logo: unknown;
        } | undefined;
        readonly cancel_url: string | null;
        readonly client_reference_id: string | null;
        readonly client_secret: string | import("effect/Redacted").Redacted<string> | null;
        readonly collected_information: unknown;
        readonly consent: unknown;
        readonly consent_collection: unknown;
        readonly created: number;
        readonly currency: string | null;
        readonly currency_conversion: unknown;
        readonly custom_fields: readonly {
            readonly dropdown?: {
                readonly default_value: string | null;
                readonly options: readonly {
                    readonly label: string;
                    readonly value: string;
                }[];
                readonly value: string | null;
            } | undefined;
            readonly key: string;
            readonly label: {
                readonly custom: string | null;
                readonly type: "custom";
            };
            readonly numeric?: {
                readonly default_value: string | null;
                readonly maximum_length: number | null;
                readonly minimum_length: number | null;
                readonly value: string | null;
            } | undefined;
            readonly optional: boolean;
            readonly text?: {
                readonly default_value: string | null;
                readonly maximum_length: number | null;
                readonly minimum_length: number | null;
                readonly value: string | null;
            } | undefined;
            readonly type: "dropdown" | "numeric" | "text";
        }[];
        readonly custom_text: {
            readonly after_submit: unknown;
            readonly shipping_address: unknown;
            readonly submit: unknown;
            readonly terms_of_service_acceptance: unknown;
        };
        readonly customer: unknown;
        readonly customer_account: string | null;
        readonly customer_creation: "always" | "if_required" | null;
        readonly customer_details: unknown;
        readonly customer_email: string | null;
        readonly discounts: readonly {
            readonly coupon: unknown;
            readonly promotion_code: unknown;
        }[] | null;
        readonly excluded_payment_method_types?: readonly string[] | undefined;
        readonly expires_at: number;
        readonly id: string;
        readonly integration_identifier: string | null;
        readonly invoice: unknown;
        readonly invoice_creation: unknown;
        readonly line_items?: {
            readonly data: readonly {
                readonly adjustable_quantity: unknown;
                readonly amount_discount: number;
                readonly amount_subtotal: number;
                readonly amount_tax: number;
                readonly amount_total: number;
                readonly currency: string;
                readonly description: string | null;
                readonly discounts?: readonly {
                    readonly amount: number;
                    readonly discount: {
                        readonly checkout_session: string | null;
                        readonly customer: unknown;
                        readonly customer_account: string | null;
                        readonly end: number | null;
                        readonly id: string;
                        readonly invoice: string | null;
                        readonly invoice_item: string | null;
                        readonly object: "discount";
                        readonly promotion_code: unknown;
                        readonly source: {
                            readonly coupon: unknown;
                            readonly type: "coupon";
                        };
                        readonly start: number;
                        readonly subscription: string | null;
                        readonly subscription_item: string | null;
                    };
                }[] | undefined;
                readonly id: string;
                readonly metadata: {
                    readonly [x: string]: string;
                } | null;
                readonly object: "item";
                readonly price: unknown;
                readonly quantity: number | null;
                readonly taxes?: readonly {
                    readonly amount: number;
                    readonly rate: {
                        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;
                    };
                    readonly taxability_reason: "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" | null;
                    readonly taxable_amount: number | null;
                }[] | undefined;
            }[];
            readonly has_more: boolean;
            readonly object: "list";
            readonly url: string;
        } | undefined;
        readonly livemode: boolean;
        readonly locale: "auto" | "bg" | "cs" | "da" | "de" | "el" | "en" | "en-GB" | "es" | "es-419" | "et" | "fi" | "fil" | "fr" | "fr-CA" | "hr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "ms" | "mt" | "nb" | "nl" | "pl" | "pt" | "pt-BR" | "ro" | "ru" | "sk" | "sl" | "sv" | "th" | "tr" | "vi" | "zh" | "zh-HK" | "zh-TW" | null;
        readonly metadata: {
            readonly [x: string]: string;
        } | null;
        readonly mode: "payment" | "setup" | "subscription";
        readonly name_collection?: {
            readonly business?: {
                readonly enabled: boolean;
                readonly optional: boolean;
            } | undefined;
            readonly individual?: {
                readonly enabled: boolean;
                readonly optional: boolean;
            } | undefined;
        } | undefined;
        readonly object: "checkout.session";
        readonly optional_items?: readonly {
            readonly adjustable_quantity: unknown;
            readonly price: string;
            readonly quantity: number;
        }[] | null | undefined;
        readonly origin_context: "mobile_app" | "web" | null;
        readonly payment_intent: unknown;
        readonly payment_link: unknown;
        readonly payment_method_collection: "always" | "if_required" | null;
        readonly payment_method_configuration_details: unknown;
        readonly payment_method_options: unknown;
        readonly payment_method_types: readonly string[];
        readonly payment_status: "no_payment_required" | "paid" | "unpaid";
        readonly permissions: unknown;
        readonly phone_number_collection?: {
            readonly enabled: boolean;
        } | undefined;
        readonly presentment_details?: {
            readonly presentment_amount: number;
            readonly presentment_currency: string;
        } | undefined;
        readonly recovered_from: string | null;
        readonly redirect_on_completion?: "always" | "if_required" | "never" | undefined;
        readonly return_url?: string | undefined;
        readonly saved_payment_method_options: unknown;
        readonly setup_intent: unknown;
        readonly shipping_address_collection: unknown;
        readonly shipping_cost: unknown;
        readonly shipping_options: readonly {
            readonly shipping_amount: number;
            readonly shipping_rate: unknown;
        }[];
        readonly status: "complete" | "expired" | "open" | null;
        readonly submit_type: "auto" | "book" | "donate" | "pay" | "subscribe" | null;
        readonly subscription: unknown;
        readonly success_url: string | null;
        readonly tax_id_collection?: {
            readonly enabled: boolean;
            readonly required: "if_supported" | "never";
        } | undefined;
        readonly total_details: unknown;
        readonly ui_mode: "elements" | "embedded_page" | "form" | "hosted_page" | null;
        readonly url: string | null;
        readonly wallet_options: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, any>;
//# sourceMappingURL=GetCheckoutSessions.d.ts.map