import type { VercelCredentials } from './auth.js'; import type { VercelSandboxClient } from './client.js'; import type { VercelMetadataIdentity } from './metadata.js'; import type { GitHubSourceRemote } from './source.js'; export interface RecoveredBranchSandbox { identity: VercelMetadataIdentity; snapshotIds?: string[]; } export interface BranchSandboxRecovery { /** The branch's sandbox in this Vercel scope, when one exists. */ recovered?: RecoveredBranchSandbox; /** * Names of same-repository, same-branch sandboxes belonging to a different * Vercel team/project. They are never touched -- deleting another scope's * resources is not this command's business -- but they must be reported, * because `--list` shows them and silence reads as "nothing exists". */ foreignScope: string[]; } export declare function recoverMissingBranchSandbox(client: VercelSandboxClient, origin: GitHubSourceRemote, branch: string, credentials: VercelCredentials): Promise;