import type { Rspack } from '@rsbuild/core'; type FilenameTemplate = string | ((resourcePath: string, resourceQuery?: string) => string); export type SvgAssetLoaderOptions = { limit: number; name: FilenameTemplate; publicPath?: string | ((url: string, resourcePath: string, context: string) => string); }; type RawLoaderDefinition = ((this: Rspack.LoaderContext, content: Buffer) => string | Buffer | void | Promise) & { raw: true; }; declare const assetLoader: RawLoaderDefinition; export default assetLoader;