import type { GitvaultBucketProbeResult } from "./gitvault-mirror-backend.js"; import type { GitvaultMirrorCredential, GitvaultMirrorDestination } from "./gitvault-mirror-config.js"; /** * The failing properties, named — never a bundled "the probe failed". Every * entry maps 1:1 to one of {@link GitvaultBucketProbeResult}'s three * booleans, so a caller (or a test) can assert on exactly what broke. */ export declare function gitvaultByoProbeFailingProperties(result: GitvaultBucketProbeResult): string[]; /** * `repos create --byo`'s pre-allocation gate: open a root-scoped backend at * `destination` (no `repo_id` — the probe never collides with any vault's * own `source//` prefix, since it writes under `_byo-probe/` * instead) and run {@link GitvaultMirrorBackend.probeWritePolicy}. A failed * property (or a thrown transport error) refuses with * `GITVAULT_BYO_BUCKET_PROBE_FAILED`, naming exactly which propert(y/ies) * failed and the underlying fact — the caller MUST NOT proceed to * allocation on a failed probe. */ export declare function probeGitvaultByoDestination(destination: GitvaultMirrorDestination, credential?: GitvaultMirrorCredential): Promise; //# sourceMappingURL=gitvault-byo-probe.d.ts.map