diff --git a/docs/assets/ts/artplayer-plugin-ads.d.ts b/docs/assets/ts/artplayer-plugin-ads.d.ts
index 618fdd6c1..866befee7 100644
--- a/docs/assets/ts/artplayer-plugin-ads.d.ts
+++ b/docs/assets/ts/artplayer-plugin-ads.d.ts
@@ -1,52 +1,78 @@
-interface Option {
- /**
- * 广告源文本,支持视频链接、图片链接、HTML文本
- */
- source: string
-
- /**
- * 知名广告的类型:'video' | 'image' | 'html'
- */
- type: 'video' | 'image' | 'html'
-
- /**
- * 广告必看的时长,单位为秒
- */
- playDuration?: number
-
- /**
- * 广告总的时长,单位为秒
- */
- totalDuration?: number
-
- /**
- * 视频广告是否默认静音
- */
- muted?: boolean
+// Generated from the package public declaration by yarn build:ts. Do not edit.
+/* eslint-disable ts/no-redeclare -- Callable and public type namespace intentionally merge. */
+declare namespace artplayerPluginAds {
+ interface Translations {
+ close: string
+ countdown: string
+ detail: string
+ canBeClosed: string
+ }
+ /** Implemented options. Video takes precedence over HTML. */
+ interface Option {
+ html?: string
+ video?: string
+ url?: string
+ /** Seconds before the close button becomes available. @default 5 */
+ playDuration?: number
+ /** Total advertisement duration in seconds. @default 10 */
+ totalDuration?: number
+ /** Initial ad-video mute state. @default false */
+ muted?: boolean
+ /** All four fields replace the default translation object together. */
+ i18n?: Translations
+ }
+ /** Historical published declaration. String durations still fail runtime validation. */
+ interface LegacyOption extends Omit