import type { LoaderContext } from '../config/adapterRuleUse.js';
import type { Compiler } from '../exports.js';
import type { LoaderObject } from './index.js';
export declare function convertArgs(args: any[], raw: boolean): void;
export declare const loadLoader: (loaderObject: LoaderObject, compiler: Compiler) => Promise<void>;
export declare const runSyncOrAsync: (arg1: Function, arg2: LoaderContext<{}>, arg3: any[]) => Promise<any[]>;
export declare function extractLoaderName(loaderPath: string, cwd?: string): string;
