diff --git a/src/types/index.ts b/src/types/index.ts index b2e788e..bf26d5e 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -5,7 +5,20 @@ * creation: 22/4/2026 */ +export interface AdapterAPI { + load?: () => void; + play?: () => void; + pause?: () => void; + destroy?: () => void; + seek?: (time: number) => void; + currentTime?: () => number; + duration?: () => number; + volume?: () => number; + mute?: () => boolean; +} + export interface PlayerConfig { + type?: "native" | "hls" | "dash"; theme?: "dark" | "light"; accent?: string; controls?: boolean;