import * as path from 'path';
import type { Source } from '@graphql-tools/utils';
import type { ModuleNamingMode } from '../validatePresetConfig';
export interface ParsedSource {
    source: Source;
    sourcePath: path.ParsedPath;
    moduleName: string;
    relativePathFromBaseToModule: string[];
}
export interface ParseSourcesResult {
    sourceMap: Record<string, ParsedSource>;
}
export declare function parseSources({ sources, baseOutputDir, moduleNamingMode, }: {
    sources: Source[];
    baseOutputDir: string;
    moduleNamingMode: ModuleNamingMode;
}): ParseSourcesResult;
