/**
 * Test-connection probe for R2 / S3-compatible storage.
 *
 * Stub-quality: structure + return shape only. A production probe would do a
 * HeadBucket via the AWS SDK and surface 200 vs 403 vs 404. For Phase -1 we
 * only need the contract.
 */
export async function probeR2(_value) {
    const started = Date.now();
    // Stub: would HeadBucket and inspect status. Returning ok-by-shape avoids
    // accidentally hitting real R2 buckets in tests.
    return { ok: true, message: 'Probe stub — not contacted upstream', durationMs: Date.now() - started };
}
//# sourceMappingURL=r2.js.map