import { IsomorphicRollupFs } from "../../fs-iface"; export declare function findPackageJson(base: string, moduleDirs: readonly string[], fs: IsomorphicRollupFs): Promise<{ pkgJson: any; pkgPath: string; pkgJsonPath: string; } | null>; export declare function isUrl(str: string): boolean; /** * Conditions is an export object where all keys are conditions like 'node' (aka do not with '.') */ export declare function isConditions(exports: any): boolean; /** * Mappings is an export object where all keys start with '. */ export declare function isMappings(exports: any): boolean; /** * Check for mixed exports, which are exports where some keys start with '.' and some do not */ export declare function isMixedExports(exports: Record): boolean; export declare function createBaseErrorMsg(importSpecifier: string, importer: string): string; export declare function createErrorMsg(context: any, reason?: string, isImports?: boolean): string; export declare class ResolveError extends Error { } export declare class InvalidConfigurationError extends ResolveError { constructor(context: any, reason?: string); } export declare class InvalidModuleSpecifierError extends ResolveError { constructor(context: any, isImports?: boolean, reason?: string); } export declare class InvalidPackageTargetError extends ResolveError { constructor(context: any, reason?: string); }