import { ESBuildTransformResult } from 'vite';
import type { FileGraph } from './typings';
interface ManifestDependency {
    entryName: string;
    entryPaths: Array<string>;
    dependingOnManifests: Array<{
        resourceId: string;
        serviceId: string;
    }>;
}
export declare function getFileGraph(unknownId: string): FileGraph;
export declare function toFileGraphId(unknownId: string): string;
export declare function toModuleId(unknownId: string): string;
export declare function buildFileGraphs(entries: Record<string, Array<string>>): Promise<Record<string, ManifestDependency>>;
export declare function buildFileGraph(unknownId: string, code: string): Promise<{
    fileGraph: FileGraph;
    code: string;
    esbuildTransformResult?: ESBuildTransformResult;
}>;
export {};
