import { type Database } from "./database.js"; /** Server-only: call after verifying the exact enrollment's Ed25519 renewal * signature. The database derives the key and account; no caller-supplied key, * label, path, IP address or external account can become correlation evidence. * * Stored keys are base64 as the agent sent them: agents send standard base64 * without padding (43 characters for an Ed25519 key), and the renewal check * decodes them leniently. PostgreSQL's `decode(..., 'base64')` requires * padding, so the key is normalized first (URL-safe characters mapped, anything * outside the alphabet dropped, padding restored); otherwise every real * machine's renewal fails here and the machine stays offline. */ export declare function recordMachinePromotionProof(db: Database, input: { workspaceId: string; enrollmentId: string; credentialGeneration: number; }): Promise;