import type { Component, JSX } from 'solid-js'; import { render } from 'solid-js/web'; interface App { /** * Add a Provider to the app. The list of provider will be merged * at mount time. * * @param provider {Component} - The provider to add to the list * @param opts {Record} - The optional options */ use(provider: Component, options?: Props): App; /** * It first merges all the Providers and then uses the `render` function * to mount the application. * * @param dom {HTMLElement | string} - The element to mount your app on */ mount(domElement: HTMLElement | string): ReturnType; } export declare function createApp(app: (props?: AppProps) => JSX.Element, props?: AppProps): App; export {};