export default class MaterializeCeilingStrategy {
    runtime;
    coordinateStrategy;
    constructor(runtime, coordinateStrategy) {
        this.runtime = runtime;
        this.coordinateStrategy = coordinateStrategy;
    }
    async materialize(opts) {
        const frontier = await this.runtime.deps.patches.getFrontier();
        return await this.coordinateStrategy.materialize({
            frontier,
            ceiling: opts.ceiling,
            receipts: opts.receipts,
        });
    }
}
