import type { Pack } from '../runtime/types.js';
export declare const MAX_COMPOSITE_DEPTH = 3;
export declare class CompositeResolutionError extends Error {
    readonly compositePack: string;
    readonly cause?: string | undefined;
    constructor(message: string, compositePack: string, cause?: string | undefined);
}
/**
 * Expand composite packs into their includes. Returns the flat list per the
 * module-header contract. Throws `CompositeResolutionError` on cycle,
 * depth-exceeded, missing include, semver-mismatch, or invalid-semver.
 */
export declare function expandComposites(packs: readonly Pack[]): Pack[];
//# sourceMappingURL=composite_resolver.d.ts.map