import type { RetainedArtifactReference } from "@opengeni/sdk"; import type { RetainedArtifactLoader } from "./registry.js"; import { type OpenGeniText } from "../messages/runtime.js"; export { isPatchFilename } from "./presented-image.js"; /** One command that downloads this patch and applies it in the current folder. */ export declare function patchApplyCommand(t: OpenGeniText, url: string): string; /** "5 minutes" from the signed URL's expiry; the default download URL lifetime otherwise. */ export declare function applyCommandLifetime(expiresAt: string | undefined, now?: number): string; /** * "Copy command to apply these changes": mints the existing short-lived, * authenticated download URL for this published patch (the same authority as * Download) and copies `curl -fsSL '' | git apply`. The URL is minted on * click, so the copied command works for the URL's lifetime only. */ export declare function PatchApplyCommand({ artifact, filename, load, }: { artifact: RetainedArtifactReference; filename: string; load: RetainedArtifactLoader | undefined; }): import("react").JSX.Element;