27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
import type { ComponentOptions, InjectionKey, SlotsType, VNode } from 'vue';
|
|
export declare const clientOnlySymbol: InjectionKey<boolean>;
|
|
declare const _default: import("vue").DefineComponent<{
|
|
placeholder?: any;
|
|
fallback?: any;
|
|
placeholderTag?: any;
|
|
fallbackTag?: any;
|
|
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
[key: string]: any;
|
|
}> | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
[key: string]: any;
|
|
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
placeholder?: any;
|
|
fallback?: any;
|
|
placeholderTag?: any;
|
|
fallbackTag?: any;
|
|
}> & Readonly<{}>, {}, SlotsType<{
|
|
default?: () => VNode[];
|
|
/**
|
|
* Specify a content to be rendered on the server and displayed until `<ClientOnly>` is mounted in the browser.
|
|
*/
|
|
fallback?: () => VNode[];
|
|
placeholder?: () => VNode[];
|
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
export default _default;
|
|
export declare function createClientOnly<T extends ComponentOptions>(component: T): any;
|