export declare function publishRecordPath(root: string): string; export interface PublishRecord { /** The versioned URL of this exact publish, exactly as api-server issued it. */ url: string; /** * The directory form that always resolves to the newest publish, and the `/play/` page when * the game is public and has one. Both absent from a record written by an older CLI, or * against an older api-server — readers fall back to `url`, which is what that record knew. * See `promotedPublishUrl` for which one a reader should show. */ latestUrl?: string; playUrl?: string; visibility: string; publishVersion: number; gameId: string; /** ISO 8601, so a reader can say how long ago without a second field. */ at: string; /** The My games page. Absent against an older api-server that does not send one. */ manageUrl?: string; /** The name this publish shipped under, when the publish knew it. */ name?: string; } export declare function writePublishRecord(root: string, record: PublishRecord): void; /** * The last publish, or null when there has not been one this reader can trust. * * Every field is checked rather than assumed: this file survives across CLI versions, and a reader * that trusted a half-written or older-shaped record would put a broken link in front of a creator. */ export declare function readPublishRecord(root: string): PublishRecord | null;