1import { type App, type Gez } from '@gez/core';
2import { type RspackOptions } from '@rspack/core';
3import type { BuildTarget } from './build-target';
4export interface RspackAppConfigContext {
5 gez: Gez;
6 buildTarget: BuildTarget;
7 config: RspackOptions;
8 options: RspackAppOptions;
9}
10export interface RspackAppOptions {
11 config?: (context: RspackAppConfigContext) => void;
12}
13export declare function createRspackApp(gez: Gez, options?: RspackAppOptions): Promise<App>;