import { type Scope } from 'harper'; /** * Run `build` once across the workers sharing this app's build-info record. The worker that claims the * record runs the build; others wait until it finishes and return without building. Resolves once the * build is complete (whether performed by this worker or another), so callers can safely refresh from the * output afterward. * * Outside Harper (no `databases` global), it simply runs `build`. */ export declare function withBuildLock(scope: Scope, build: () => Promise): Promise;