import { LineItemData, Order } from '../../../../types';
export declare class ScCartForm {
  private form;
  /** The quantity */
  quantity: number;
  /** The price id to add. */
  priceId: string;
  /** Are we in test or live mode. */
  mode: 'test' | 'live';
  /** The form id to use for the cart. */
  formId: string;
  order: Order;
  /** Is it busy */
  busy: boolean;
  error: string;
  /** Find a line item with this price. */
  getLineItem(): LineItemData;
  getOrder(): any;
  /** Add the item to cart. */
  addToCart(): Promise<void>;
  addOrUpdateLineItem(data?: {
    ad_hoc_amount: any;
  }): Promise<Order>;
  componentWillLoad(): void;
  state(): {
    busy: boolean;
    error: string;
    order: any;
  };
  render(): any;
}
