import type { tsvb } from 'effects-sdk'; import type { IModelParams } from '../classes/Segmentation'; export interface IDimentions { width: number; height: number; } export interface ITextureLayer { texture: WebGLTexture; framebuffer: WebGLFramebuffer; } export type IBackgroundTag = 'default' | 'star' | 'cosmonautics-day-2022' | 'teachers-day-2022' | 'vk-2022-birthday' | 'vk-2022-mothers-day' | 'vk-2023-lovers-day'; export interface IBackgroundInfo { id: number; preview: string; original: string; description: string; tags: IBackgroundTag[]; } export interface IIconInfo { id: string; url: string; description: string; type: 'svg'; } export interface IIcons { starBackground: IIconInfo; } export type VideoEffectsVersion = 'legacy' | 'effects-sdk'; export interface EffectsSdkOptions { customerId?: string; config?: Parameters[0]; preload?: boolean; cache?: boolean; } export interface VideoEffectsOptions { segmentation?: IModelParams; debug?: boolean; version?: VideoEffectsVersion; effectsSdk?: EffectsSdkOptions; }