import type { AgentId } from '../types.js';
import type { AgentTarget, ResolveOptions, VersionFilter } from './types.js';
export * from './types.js';
export * from './primitives.js';
export * from './package-types.js';
export { parseAgentPackageManifest, loadAgentPackageManifest } from './package-schema.js';
export { resolveAgentPackage, effectiveResources } from './package-resolve.js';
export { materializeAgentPackage, sha256OfReceiptFile } from './materialize.js';
/** Shared `--help` epilog so every agent-spec command documents the same grammar. */
export declare const AGENT_SPEC_HELP: string;
/** Resolve a spec (single or comma-list) into concrete installed targets. */
export declare function resolveAgentTargets(spec: string, opts?: ResolveOptions): AgentTarget[];
/** Resolve a spec that must name exactly one installed version. */
export declare function resolveSingleAgentTarget(spec: string, opts?: ResolveOptions): {
    agent: AgentId;
    version: string;
    source: import('./types.js').VersionSource;
};
/** Resolve a read/list command's version filter (undefined → all, @default → the default, else concrete). */
export declare function resolveVersionFilter(agent: AgentId, qualifier: string | undefined | null, opts?: ResolveOptions): VersionFilter;
/** Concrete version filter for list/display commands (undefined → show all, @default → the default version). */
export declare function resolveListFilter(agent: AgentId, qualifier: string | undefined | null, opts?: ResolveOptions): string | undefined;
