import { createElement } from 'preact';
/**
 * @internal
 */
export function __etSlot(id, children) {
    if (__BACKGROUND__) {
        return createElement('slot', { id }, children);
    }
    throw new Error('__etSlot() should not run on the main thread. LEPUS ET children are lowered to slot arrays at compile time.');
}
//# sourceMappingURL=slot.js.map