import type { Result } from '../fetch-utils'; import type { PresentationState } from '../types'; type StreamKeyResponse = { streamingUrl: string; streamingKey: string; createdAt: number; endsAt: number; }; export type DclCastResponse = { streamLink: string; watcherLink: string; streamingKey: string; placeId: string; placeName: string; expiresAt: number; expiresInDays: number; }; export declare function getStreamKey(): Promise>; export declare function generateStreamKey(): Promise>; export declare function revokeStreamKey(): Promise>; export declare function resetStreamKey(): Promise>; export type DclCastTracksResponse = { participants: { identity: string; tracks: { sid: string; type: 'AUDIO' | 'VIDEO'; source: 'MICROPHONE' | 'CAMERA' | 'SCREEN_SHARE'; }[]; name: string; }[]; }; export declare function getDclCastInfo(): Promise>; export type PresentersResponse = { presenters: string[]; }; export declare function getPresenters(): Promise>; export declare function promotePresenter(address: string): Promise>; export declare function ensurePresenterRole(playerAddress: string): Promise; type PresentationBotTokenResponse = { url: string; token: string; roomId: string; }; export declare function getPresentationBotToken(streamingKey: string): Promise>; export declare function startPresentation(url: string, livekitToken: string, livekitUrl: string): Promise>; export type FlattenedTrack = { sid: string; identity: string; sourceType: number; name: string; customName: string; }; export type Participant = { name: string; identity: string; tracks: FlattenedTrack[]; }; export declare const SOURCE_TYPE_LABELS: Record; export declare const getSourceLabel: (sourceType: number) => string; export declare function isPresentationBot(name: string): boolean; export declare function hasPresentationTrack(tracks: FlattenedTrack[]): boolean; export declare function groupTracksByParticipant(tracks: FlattenedTrack[]): Participant[]; export declare function getActiveStreams(): Promise; export declare function subscribeToPresentationTopic(): void; export declare function requestPresentationState(): void; export declare function resetPresentationTracking(): void; export declare function consumePresentationMessages(): Promise; export declare function nextSlide(): void; export declare function prevSlide(): void; export declare function playPresentationVideo(videoIndex: number): void; export declare function pausePresentationVideo(): void; export declare function stopPresentationVideo(): void; export declare function stopPresentation(): void; export {};