import { Awaitable, ConfigType } from '@yolodev/rollup-config-core'; import { Package, Project } from './types'; export declare type WithPackageFactory = (pkg: Package, project: Project, commandOptions?: any) => Awaitable; export declare type WithPackageOptions = { packageDir: string | ((dirname: string) => Awaitable); }; export declare const withPackageInfo: (opts?: Partial) => import("@yolodev/rollup-config-core/src/types").RollupConfigMiddleware;