import { ViteUserConfig } from "vitest/config"; /** * Find and read the root package.json (monorepo root) * Walks up the directory tree looking for a package.json with "workspaces" */ export declare function getRootPackageVersion(): string; export declare function hpccBundleNames(pkg: any): { alias: {}; external: string[]; globals: { [id: string]: string; }; }; export interface ViteHpccConfigOptions { /** * Additional external items */ external?: string[]; /** * Additional module aliases to merge with the HPCC aliases */ alias?: Record; /** * Additional plugins to include in the configuration */ plugins?: any[]; /** * Whether to include font-awesome static copy (used by @hpcc-js/common) */ includeFontAwesome?: boolean; /** * Custom entry point (defaults to "src/index.ts") */ entry?: string; /** * Additional vite config options to merge */ configOverrides?: Partial; } export declare const nodeConfig: ViteUserConfig; export declare const browserConfig: ViteUserConfig; export declare function createHpccViteConfig(pkg: any, options?: ViteHpccConfigOptions): ViteUserConfig;