Files
eewing cf73cd3b4c INIT
2026-02-17 14:10:16 -06:00

14 lines
528 B
TypeScript

import { type Getter, type ReadableBox } from "svelte-toolbelt";
/**
* Resolves a locale value using the prop, the config default, or a fallback.
*
* Default value: `"en"`
*/
export declare const resolveLocaleProp: (getProp: Getter<string | undefined>) => ReadableBox<string>;
/**
* Resolves a portal's `to` value using the prop, the config default, or a fallback.
*
* Default value: `"body"`
*/
export declare const resolvePortalToProp: (getProp: Getter<string | Element | undefined>) => ReadableBox<string | Element>;