import { type Signal } from '@wix/services-definitions/core-services/signals'; import * as checkout from '@wix/auto_sdk_ecom_checkout'; export { ChannelType } from '@wix/auto_sdk_ecom_checkout'; export type LineItem = checkout.LineItem; /** * API interface for the Checkout service */ export interface CheckoutServiceAPI { isLoading: Signal; error: Signal; createCheckout: (lineItems: LineItem[]) => Promise; } export declare const CheckoutServiceDefinition: string & { __api: CheckoutServiceAPI; __config: {}; isServiceDefinition?: boolean; } & CheckoutServiceAPI; /** * Configuration options for the Checkout service */ export interface CheckoutServiceConfig { channelType?: checkout.ChannelType; postFlowUrl?: string; } export declare const CheckoutService: import("@wix/services-definitions").ServiceFactory; export type CheckoutServiceConfigResult = {}; /** * Load initial configuration for the Checkout service. * This function prepares the configuration for checkout creation. * * @param channelType - Optional channel type (defaults to WEB) * @param postFlowUrl - Optional URL to redirect after checkout completion * @returns Promise resolving to service configuration */ export declare const loadCheckoutServiceInitialData: (channelType?: checkout.ChannelType, postFlowUrl?: string) => Promise; /** * Creates a service binding for the Checkout service with the provided configuration. * This utility function helps integrate the checkout service into the services manager. * * @param servicesConfigs - Configuration object containing checkout service settings * @returns Tuple containing service definition, implementation, and configuration */ export declare const checkoutServiceBinding: >[typeof CheckoutServiceDefinition]; }>(servicesConfigs: T) => readonly [string & { __api: CheckoutServiceAPI; __config: {}; isServiceDefinition?: boolean; } & CheckoutServiceAPI, import("@wix/services-definitions").ServiceFactory, any];