import { Component, SlotsType } from 'vue'; export { clientOnly }; type ClientOnlyComponent = ComponentLoaded & { $slots: ClientOnlySlots; }; type ClientOnlySlots = SlotsType<{ fallback: { error: unknown; attrs: Record; }; 'client-only-fallback': { error: unknown; attrs: Record; }; }>; /** * Load and render a component only on the client-side. * * https://vike.dev/clientOnly */ declare function clientOnly(load: () => Promise): ClientOnlyComponent;