import { App, AppContext } from 'vue';
export type SFCWithInstall<T> = T & {
    install(app: App): void;
};
export type FunctionWithInstall<T> = T & {
    install(app: App): void;
    _context?: AppContext | null;
};
type AnyFunction = (...args: any[]) => any;
export declare function withInstall<T>(component: T, name: string): SFCWithInstall<T>;
export declare function withInstallFunction<T extends AnyFunction>(fn: T, property: string): FunctionWithInstall<T>;
export {};
