export interface GiteaTokenEntry { expiresAt: string | null; repoUrl: string; token: string; /** * Human-readable workspace slug (NOT the UUID). Populated from the * `gitea.token` response. Optional to stay backward-compatible with older * entries written before the field was added; callers must handle the * `undefined` case by re-minting. */ workspaceSlug?: string; } export declare const loadGiteaToken: (workspaceId: string) => Promise; export declare const saveGiteaToken: (workspaceId: string, entry: GiteaTokenEntry) => Promise; export declare const isGiteaTokenExpired: (entry: GiteaTokenEntry) => boolean;