import type { ApiManager } from '../api-manager/ApiManager';
import type { AnyRecord, EmptyObject, StringIndexable } from '../BaseTypes';
import type { ContextHaving } from '../execution-context/Types';
import type { WithBaseApi } from '../framework';
import type { Task } from '../task/Types';
import type { BaseContext } from '../Types';
import type { Package } from './Package';
export declare function createPackage<DependencyMap extends AnyRecord, ExportsMap extends AnyRecord, Api extends EmptyObject>(name: string, onAdd: Task<ContextHaving<DependencyMap, ExportsMap, BaseContext>, ApiManager<WithBaseApi<Api>>, void>, dependencies: (keyof StringIndexable<DependencyMap>)[]): Package<DependencyMap, ExportsMap, Api>;
