///
type ViteHotContext = Exclude;
interface ViteClient {
createHotContext: (path: string) => ViteHotContext;
}
/**
* Get the module of `/@vite/client`
*/
declare function getViteClient(base?: string, warning?: boolean): Promise;
declare function createHotContext(path?: string, base?: string): Promise;
/**
* Guess the vite client provided bases from the current pathname.
*/
declare function guessBasesFromPathname(pathname?: string): string[];
/**
* Try to resolve the vite client provided bases.
*/
declare function tryCreateHotContext(path?: string, bases?: string[]): Promise;
export { type ViteClient, type ViteHotContext, createHotContext, getViteClient, guessBasesFromPathname, tryCreateHotContext };