import type { UseScriptContext } from '@unhead/vue'; import type Vimeo from '@vimeo/player'; import type { RegistryScriptInput } from '#nuxt-scripts/types'; type Constructor any> = T extends new (...args: infer A) => infer R ? new (...args: A) => R : never; export interface VimeoPlayerApi { Vimeo: { Player: Constructor; }; } export type VimeoPlayerInput = RegistryScriptInput; declare global { interface Window extends VimeoPlayerApi { } } export declare function useScriptVimeoPlayer(_options?: VimeoPlayerInput): UseScriptContext; export {};