interface TransformResult {
    code: string;
    map?: any;
}
type ExportInfoCompat = {
    localFunctions: Set<string>;
    reExports: Array<{
        localName: string;
        originalName: string;
        moduleSpecifier: string;
    }>;
};
export declare const findExportedFunctions: (code: string, normalizedId?: string) => Set<string>;
export declare const findExportInfo: (code: string, normalizedId?: string) => ExportInfoCompat;
export declare const transformServerFunctions: (code: string, normalizedId: string, environment: "client" | "worker" | "ssr", serverFiles?: Set<string>, addServerModule?: (environment: string, id: string) => void) => TransformResult | undefined;
export type { TransformResult };
