// 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 artplayerProxyCanvasDefinitions { /** Runs after drawing and bitmap release, before the draw event. */ export type Option = (ctx: CanvasRenderingContext2D, video: HTMLVideoElement) => void /** Preserve the exact published 1.1.0 return type and its assignability. */ export type Result = HTMLCanvasElement export type Factory = (option?: Option) => (art: Artplayer) => Result export type Callable = Factory /** Explicit view of forwarded media members; native Canvas members win. */ export type MediaCanvas = HTMLCanvasElement & Pick> /** Opt-in runtime identity; the historical root factory has no required properties. */ export interface RuntimeFactory extends Factory { readonly default: RuntimeFactory } export const artplayerProxyCanvas: (option?: Option) => (art: Artplayer) => Result } declare const artplayerProxyCanvas: typeof artplayerProxyCanvasDefinitions.artplayerProxyCanvas declare namespace artplayerProxyCanvas { export type Option = artplayerProxyCanvasDefinitions.Option export type Result = artplayerProxyCanvasDefinitions.Result export type Factory = artplayerProxyCanvasDefinitions.Factory export type Callable = artplayerProxyCanvasDefinitions.Callable export type MediaCanvas = artplayerProxyCanvasDefinitions.MediaCanvas export type RuntimeFactory = artplayerProxyCanvasDefinitions.RuntimeFactory } export = artplayerProxyCanvas export as namespace artplayerProxyCanvas;