import type { Snippet } from "svelte"; export type PortalProps = { /** * Where to teleport the children. A CSS selector string or an actual * `HTMLElement`. Defaults to the document ``. */ target?: string | HTMLElement; /** When `true`, render inline in place (no teleportation). */ disabled?: boolean; /** Optional class applied to the portal container element. */ class?: string; children?: Snippet; }; /** * Resolve a target prop to an `HTMLElement`. Returns `null` when it cannot be * resolved (SSR, missing selector, etc.). */ export declare function resolvePortalTarget(target: string | HTMLElement | undefined): HTMLElement | null; declare const Portal: import("svelte").Component; type Portal = ReturnType; export default Portal; //# sourceMappingURL=Portal.svelte.d.ts.map