mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
21 lines
438 B
TypeScript
21 lines
438 B
TypeScript
import type Artplayer from 'artplayer';
|
|
|
|
export = artplayerPluginAmbilight;
|
|
export as namespace artplayerPluginAmbilight;
|
|
|
|
type Option = {
|
|
blur: string;
|
|
opacity: number;
|
|
frequency: number;
|
|
zIndex: number;
|
|
duration: number;
|
|
};
|
|
|
|
type Result = {
|
|
name: 'artplayerPluginAmbilight';
|
|
start: () => void;
|
|
stop: () => void;
|
|
};
|
|
|
|
declare const artplayerPluginAmbilight: (option: Option) => (art: Artplayer) => Result;
|