import type { IUIConfig } from "../config"; import type { IVKVideoPlayerConfig } from "../types"; import type { IStore } from "./index"; import type { FakeIsPlayingStore, GraphIsOpenedStore, InteractiveControlsOpacityStore, NotificationsStore, PictureInPictureStore, SeekToInteractiveDisabledTooltipStore, ShowInteractiveTimeIndicatorTooltipStore } from "./modules"; import type { Interactives } from "@vkontakte/videoplayer-interactive"; export interface ICompositionParams { legacyStore: IStore; uiConfig: IUIConfig; config: IVKVideoPlayerConfig; interactiveController: Interactives | undefined; } export interface ICompositionResult { stores: { notificationsStore: NotificationsStore; pictureInPictureStore: PictureInPictureStore; fakeIsPlayingStore: FakeIsPlayingStore; seekToInteractiveDisabledTooltipStore: SeekToInteractiveDisabledTooltipStore; showInteractiveTimeIndicatorTooltipStore: ShowInteractiveTimeIndicatorTooltipStore; graphIsOpenedStore: GraphIsOpenedStore; interactiveControlsOpacityStore: InteractiveControlsOpacityStore; }; /** Очистка ресурсов */ destroy(): void; } /** * Создаёт композицию всех store-модулей * * @param params - Параметры композиции * @returns ICompositionResult */ export declare const createStoreComposition: (params: ICompositionParams) => ICompositionResult;