import * as sdk from '@botpress/sdk';
type PackageType = sdk.Package['type'];
export type UUIDPackageRef = {
    type: 'id';
    id: string;
};
export type NamePackageRef = {
    type: 'name';
    pkg?: PackageType;
    name: string;
    version: string;
};
export type LocalPackageRef = {
    type: 'path';
    path: string;
};
export type ApiPackageRef = UUIDPackageRef | NamePackageRef;
export type PackageRef = ApiPackageRef | LocalPackageRef;
export declare const LATEST_TAG = "latest";
export declare const formatPackageRef: (ref: PackageRef) => string;
export declare const parsePackageRef: (ref: string) => PackageRef | undefined;
export {};
