import { FrameworkError } from '../error/FrameworkError';
import type { Package } from './Package';
export type AnyPackage<Api extends object> = Package<any, any, Api>;
export type RemovePackage = () => void;
export declare class PackageRemovedError extends FrameworkError {
    name: string;
    constructor(message?: string);
}
export interface PackageApi<Api extends object> {
    add(pkg: AnyPackage<Api>): RemovePackage;
}
