import type { Client } from "@libsql/client"; import { type VaultRow } from "../registry/repo.js"; import { type GhExecutor } from "../util/gh-discover.js"; export type AccessProbeResult = "ok" | "access-removed" | "unknown"; export type GhAuthProbe = () => boolean | null; export declare function probeRepoAccess(opts: { owner: string; repo: string; gh?: GhExecutor; ghAuthOk?: GhAuthProbe; }): Promise; export interface ReprobeAccessOpts { gh?: GhExecutor; ghAuthOk?: GhAuthProbe; } export type ReprobeOutcome = "unchanged" | "access-lost" | "recovered"; export declare function reprobeVaultAccessLost(vault: VaultRow, db: Client, opts?: ReprobeAccessOpts): Promise; //# sourceMappingURL=access-reprobe.d.ts.map