// @ts-nocheck import * as velt from './types'; export * from './types'; export type Velt = { init: (api: string, config: velt.Config) => Velt, loaded: boolean, loadVelt: Function, loadSnippyly: Function } & velt.Velt; export const Velt: { init: (api: string, config?: velt.Config) => Promise, loadSnippyly: () => Velt, loadVelt: () => Velt, loaded: boolean } & velt.Velt; //////////////////// // Global object //////////////////// declare global { interface Window { Snippyly: typeof velt.Velt; Velt: typeof velt.Velt; } }