import { GUI_PACKAGES } from './engine'; interface WebpackConfig { resolve?: { alias?: Record; }; plugins?: Array; [key: string]: unknown; } /** The structural slice of a Next config this wrapper touches. */ export interface LuxUiNextConfig { /** App root, for resolving the engine's single copy. Defaults to `cwd`. */ dir?: string; transpilePackages?: Array; turbopack?: { resolveAlias?: Record; [key: string]: unknown; }; env?: Record; webpack?: (config: WebpackConfig, context: unknown) => WebpackConfig; [key: string]: unknown; } /** * Wrap a Next config so `@luxfi/ui` and the gui engine build. * * Additive: an existing `transpilePackages`, `turbopack.resolveAlias`, * `env` and `webpack()` are all preserved and extended, never replaced. */ export declare function withLuxUi(config?: LuxUiNextConfig): LuxUiNextConfig; export { GUI_PACKAGES }; //# sourceMappingURL=next.d.ts.map