7 lines
		
	
	
		
			517 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			517 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import type { Directive } from 'vue';
 | 
						|
import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
 | 
						|
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
 | 
						|
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
 | 
						|
export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
 | 
						|
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
 |