import { StreamApi } from "@here/olp-sdk-dataservice-api"; /** * Prepares information for calls to the platform Stream Service. */ export declare class SubscribeRequest { private mode?; private subscriptionId?; private consumerId?; private subscriptionProperties?; /** * Gets the subscription mode for the request. * * @return The subscription mode. */ getMode(): "serial" | "parallel" | undefined; /** * A setter for the provided subscription mode. * * @param mode The subscription mode. * @returns The [[SubscribeRequest]] instance that you can use to chain methods. */ withMode(mode: "serial" | "parallel"): SubscribeRequest; /** * Gets the subscription id for the request. * * @return The subscription id. */ getSubscriptionId(): string | undefined; /** * A setter for the provided subscription id. * * @param id The subscription id. * @returns The [[SubscribeRequest]] instance that you can use to chain methods. */ withSubscriptionId(id: string): SubscribeRequest; /** * Gets the consumer id for the request. * * @return The consumer id. */ getConsumerId(): string | undefined; /** * A setter for the provided consumer id. * * @param id The consumer id. * @returns The [[SubscribeRequest]] instance that you can use to chain methods. */ withConsumerId(id: string): SubscribeRequest; /** * Gets the subscriptionProperties for the request - consumer properties to use for this subscription. * * @return The subscriptionProperties. */ getSubscriptionProperties(): StreamApi.ConsumerProperties | undefined; /** * A setter for the provided subscription properties. * * @param props The subscriptionProperties - consumer properties to use for this subscription. * For more information, see the [subscription properties] * (https://developer.here.com/documentation/data-api/data_dev_guide/rest/getting-data-stream.html#subscription-properties) * @returns The [[SubscribeRequest]] instance that you can use to chain methods. */ withSubscriptionProperties(props: StreamApi.ConsumerProperties): SubscribeRequest; }