import { MANIFEST_KEY } from "../project.js";
import { type PluginManifest } from "./manifest.js";
export type PluginPackageManifest = {
    name?: string;
    version?: string;
    main?: string;
    module?: string;
    dependencies?: Record<string, string>;
    optionalDependencies?: Record<string, string>;
    peerDependencies?: Record<string, string>;
    scripts?: Record<string, string>;
} & Partial<Record<typeof MANIFEST_KEY, {
    extensions?: string[];
}>>;
export type ResolvedPluginPackageExtensions = {
    extensions: string[];
    source: "fased" | "legacy-plugin-manifest";
};
export declare function resolvePluginPackageExtensions(params: {
    manifest: PluginPackageManifest;
    packageDir: string;
    pluginManifest?: PluginManifest;
}): Promise<ResolvedPluginPackageExtensions>;
