import type { Configuration } from '@rspack/core'; export type EntrySurface = 'page' | 'background' | 'content_script' | 'script'; export interface ChunkNameLike { name?: string | null; canBeInitial?: () => boolean; } export declare function classifyEntrySurface(entryName: string): EntrySurface; export declare function isPageChunkName(name: string | null | undefined): boolean; export declare function isSurfaceLockedChunkName(name: string | null | undefined): boolean; export declare function pageInitialChunks(chunk: ChunkNameLike): boolean; export type SplitChunksConfig = NonNullable['splitChunks']>; export declare const SHARED_CHUNK_DIR = "shared"; export declare const GECKO_MAX_CHUNK_BYTES: number; export declare function defaultSplitChunks(browser?: string): SplitChunksConfig;