import { SvelteComponent } from "svelte"; type Container = HTMLElement; type Key = string | number | symbol; /** * Universal map to keep track of what portal a component wants to be in, * as well as its original limbo owner. * * DON'T MODIFY EXTERNALLY! * Doing so is **undefined behavior**. */ export declare let _components: Map; export declare function teleport(component: Container, key: Key): Promise; declare const __propDef: { props: { key: Key; component: Container; }; events: { [evt: string]: CustomEvent; }; slots: {}; }; export type PortalProps = typeof __propDef.props; export type PortalEvents = typeof __propDef.events; export type PortalSlots = typeof __propDef.slots; export default class Portal extends SvelteComponent { } export {};