/**
 * `vyuh-dxkit setup-prebuild` — configures GitHub Codespaces prebuilds
 * for the repo, so fresh Codespaces start from a prebuilt image
 * instead of re-running the full devcontainer build.
 *
 * Math: dxkit's polyglot devcontainer takes ~7 min cold-start (post per-
 * stack feature work in Sprint 1). Prebuilds drop this to ~30s by
 * maintaining the built image in GitHub's image cache. Storage cost
 * ~$3-5/month per region; for a 20-dev team averaging 5 fresh
 * Codespaces/week, the wall-clock savings dwarf the cost by 2-3 orders
 * of magnitude.
 *
 * Wraps `gh api -X POST repos/{owner}/{repo}/codespaces/prebuilds` with
 * a JSON payload defining branch + region + retention. Edge cases:
 *   - gh CLI missing → preflight fails
 *   - No .devcontainer/ → fail with "run init --with-devcontainer first"
 *   - Org Codespaces disabled → HTTP 403 / 422 with org-admin guidance
 *   - Existing prebuild config for the same branch → skip with notice
 *     (idempotency; avoids accidental clobber of customer-chosen regions)
 */
export interface SetupPrebuildOpts {
    /** Branch to prebuild. Defaults to the repo's default branch. */
    branch?: string;
    /**
     * Region(s) to prebuild in. If undefined, GitHub picks a reasonable
     * default (typically the customer's nearest region based on their
     * Codespaces preferences). Comma-separated list when multiple.
     */
    regions?: string;
    /** Force re-create even if a prebuild config exists for the branch. */
    force?: boolean;
}
export declare function runSetupPrebuild(cwd: string, opts?: SetupPrebuildOpts): Promise<void>;
//# sourceMappingURL=setup-prebuild.d.ts.map