danmu
Version:
Flexible, cross-platform, powerful danmu library.
27 lines (26 loc) • 635 B
TypeScript
import { Manager } from './manager';
import type { CreateOption } from './types';
export declare function create<
T extends unknown,
S extends Record<any, unknown> = Record<PropertyKey, unknown>,
>(options?: CreateOption<T>): Manager<T, S>;
export type { Track } from './track';
export type { Manager } from './manager';
export type { HookOn, HooksOn, Plugin, HookType } from 'hooks-plugin';
export type {
Mode,
Speed,
StyleKey,
Position,
PushOptions,
PushFlexOptions,
Location,
ValueType,
Direction,
Danmaku,
DanmakuType,
DanmakuPlugin,
ManagerPlugin,
ManagerOptions,
CreateOption,
} from './types';