import Janus from 'janus-gateway-ts'; import type { JanusJS } from 'janus-gateway-ts'; export declare type InitOptions = { server: JanusJS.ConstructorOptions['server']; apisecret?: JanusJS.ConstructorOptions['apisecret']; withCredentials?: JanusJS.ConstructorOptions['withCredentials']; token?: JanusJS.ConstructorOptions['token']; iceServers?: JanusJS.ConstructorOptions['iceServers']; ipv6?: JanusJS.ConstructorOptions['ipv6']; maxPollEvents?: JanusJS.ConstructorOptions['max_poll_events']; debug?: JanusJS.InitOptions['debug']; dependencies?: JanusJS.InitOptions['dependencies']; }; declare type Init = (options: InitOptions) => Promise; /** * Promise to initialise a new connection to Janus */ export declare const init: Init; export { default as Server } from './index.svelte';