import { Ec } from '@coveo/relay-event-types';
import { CommerceEngineState } from '../../../../app/commerce-engine/commerce-engine.js';
import { CartState } from './cart-state.js';
/**
 * The purchase transaction.
 */
export interface Transaction {
    /**
     * The transaction's id
     */
    id: string;
    /**
     * The total revenue from the transaction, including taxes, shipping, and discounts.
     */
    revenue: number;
}
export declare const getECPurchasePayload: (transaction: Transaction, state: CommerceEngineState) => Ec.Purchase;
export interface CartActionDetails extends Omit<Ec.CartAction, 'currency'> {
}
export declare const getECCartActionPayload: (cartActionDetails: CartActionDetails, state: CommerceEngineState) => Ec.CartAction;
export declare const itemsSelector: ((state: CartState) => import("./cart-state.js").CartItemWithMetadata[]) & {
    clearCache: () => void;
    resultsCount: () => number;
    resetResultsCount: () => void;
} & {
    resultFunc: (resultFuncArgs_0: Record<string, import("./cart-state.js").CartItemWithMetadata>, resultFuncArgs_1: string[]) => import("./cart-state.js").CartItemWithMetadata[];
    memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("./cart-state.js").CartItemWithMetadata>, resultFuncArgs_1: string[]) => import("./cart-state.js").CartItemWithMetadata[]) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    };
    lastResult: () => import("./cart-state.js").CartItemWithMetadata[];
    dependencies: [(cartState: CartState) => Record<string, import("./cart-state.js").CartItemWithMetadata>, (cartState: CartState) => string[]];
    recomputations: () => number;
    resetRecomputations: () => void;
    dependencyRecomputations: () => number;
    resetDependencyRecomputations: () => void;
} & {
    argsMemoize: typeof import("reselect").weakMapMemoize;
    memoize: typeof import("reselect").weakMapMemoize;
};
