import { ListOffersBulkRequest, ListOffersBulkResponse, ListOffersRequest, ListOffersResponse, DebugOfferRequest, DebugOfferResponse, GetOfferRequest, GetOfferResponse, ResolveOfferRequest, ResolveOfferResponse } from './types.impl';
import * as wrapper from './proto/proto-generated';
declare const DealerOffersDebug: typeof wrapper.wix.dealerOffersServing.api.v1.DealerOffersDebug;
declare const DealerOffersServing: typeof wrapper.wix.dealerOffersServing.api.v1.DealerOffersServing;
export declare type RequestOptions<T = any, U = any> = {
    _?: T;
    requestData: any;
    serviceArtifactId: string;
    serviceProtoClass: U;
    methodName: string;
};
/**
 * Debug offer in a given context.
 * Will return the offer and its audience result.
 * Only for permitted users.
 * Context is always explicit and can contains information such as userId, siteId, loggedInAccounnt etc.
 */
export declare function debugOffer(payload: DebugOfferRequest): RequestOptions<DebugOfferResponse, typeof DealerOffersDebug>;
/** Get a single offer with creative. */
export declare function getOffer(payload: GetOfferRequest): RequestOptions<GetOfferResponse, typeof DealerOffersDebug>;
/**
 * Get all offers the user or site are eligible for.
 * A realEstateId (placementId) defines the product location of the offers and is always required,
 * Context is taken implicitly from request with authorization header and wix session.
 */
export declare function listOffers(payload: ListOffersRequest): RequestOptions<ListOffersResponse, typeof DealerOffersServing>;
/**
 * Get a single offer if the user or site are eligible for.
 * Context is taken implicitly from request with authorization header and wix session.
 */
export declare function resolveOffer(payload: ResolveOfferRequest): RequestOptions<ResolveOfferResponse, typeof DealerOffersServing>;
/**
 * Get all offers the user or site are eligible for.
 * This is a bulk request for more then one realEstate (placement),
 * max limit of 30 offers is applied for each placement.
 * Context is taken implicitly from request with authorization header and wix session.
 */
export declare function listOffersBulk(payload: ListOffersBulkRequest): RequestOptions<ListOffersBulkResponse, typeof DealerOffersServing>;
export {};
