22 lines
969 B
TypeScript
22 lines
969 B
TypeScript
|
|
import { SharedConfig } from "../types.js";
|
||
|
|
|
||
|
|
//#region src/client/index.d.ts
|
||
|
|
declare const RUNTIME_CLIENT_RUNTIME_PATH = "/@vite-plugin-checker-runtime";
|
||
|
|
declare const RUNTIME_CLIENT_ENTRY_PATH = "/@vite-plugin-checker-runtime-entry";
|
||
|
|
declare const wrapVirtualPrefix: (id: `/${string}`) => `virtual:${string}`;
|
||
|
|
declare const composePreambleCode: ({
|
||
|
|
baseWithOrigin,
|
||
|
|
overlayConfig,
|
||
|
|
useBase
|
||
|
|
}: {
|
||
|
|
baseWithOrigin: string;
|
||
|
|
overlayConfig: SharedConfig["overlay"];
|
||
|
|
useBase?: boolean;
|
||
|
|
}) => string;
|
||
|
|
declare const WS_CHECKER_ERROR_EVENT = "vite-plugin-checker:error";
|
||
|
|
declare const WS_CHECKER_RECONNECT_EVENT = "vite-plugin-checker:reconnect";
|
||
|
|
declare const runtimeSourceFilePath: string;
|
||
|
|
declare const runtimeCode: string;
|
||
|
|
//#endregion
|
||
|
|
export { RUNTIME_CLIENT_ENTRY_PATH, RUNTIME_CLIENT_RUNTIME_PATH, WS_CHECKER_ERROR_EVENT, WS_CHECKER_RECONNECT_EVENT, composePreambleCode, runtimeCode, runtimeSourceFilePath, wrapVirtualPrefix };
|
||
|
|
//# sourceMappingURL=index.d.ts.map
|