/**
 * Pin "latest" Agentuity dependencies to their installed version.
 *
 * v2 scaffolds (and some hand-written projects) pin Agentuity-owned packages
 * with the floating spec `"latest"`. That's a footgun for deploys: the
 * version that actually gets installed at warmup can drift from the version
 * the user built and tested against — and once v3 becomes the `latest`
 * dist-tag, a v2 project pinned to `"latest"` would silently pull v3 and
 * break.
 *
 * On deploy we resolve the concrete version each `"latest"`-pinned
 * `@agentuity/*` / `agentuity` dependency resolved to (from `bun.lock`) and
 * rewrite the user's source `package.json` in place. Scope is limited to
 * Agentuity-owned packages so we never touch the user's other deps.
 *
 * Only `bun.lock` is read: v2 Agentuity projects (the only ones that pin
 * Agentuity deps to `"latest"`) are Bun-only, so there is no other lockfile
 * format to account for.
 */
import type { Logger } from './types.ts';
/**
 * Rewrite `"latest"`-pinned Agentuity deps in the project's source
 * package.json to the version resolved from the lockfile. Mutates the file in
 * place. Safe no-op when there's no package.json, no `"latest"` Agentuity
 * deps, or no lockfile to resolve from.
 *
 * @returns the list of `{ name, version }` that were pinned (empty if none).
 */
export declare function pinLatestAgentuityDeps(projectDir: string, logger: Logger): Promise<Array<{
    name: string;
    version: string;
}>>;
//# sourceMappingURL=pin-latest.d.ts.map