import { PublishResponse, SubscribeResponse } from './types/director';
/**
 * Request for url and authorization to publish a stream.
 *
 * @link https://docs.dolby.io/streaming-apis/reference/director_publish
 *
 * @param publishingToken The publishing token.
 * @param streamName The name of the stream.
 *
 * @returns A {@link PublishResponse} object through a {@link Promise}.
 */
export declare const publish: (publishingToken: string, streamName: string) => Promise<PublishResponse>;
/**
 * Request for url and authorization to subscribe to a stream.
 *
 * @link https://docs.dolby.io/streaming-apis/reference/director_subscribe
 *
 * @param streamName The name of the stream.
 * @param streamAccountId The account identifier. Required only for published streams which have `subscribeRequiresAuth=false`.
 * @param subscribeToken The subscribe token.
 *
 * @returns A {@link SubscribeResponse} object through a {@link Promise}.
 */
export declare const subscribe: (streamName: string, streamAccountId?: string, publishingToken?: string) => Promise<SubscribeResponse>;
