export type CiProvider = 'github' | 'gitlab'; export interface CiConfig { provider: CiProvider; token: string; owner: string; repo: string; /** GitHub Enterprise / GitLab self-hosted 의 origin (예: https://git.example.com). 없으면 공용 호스트. */ host?: string; } /** GitHub REST base. Enterprise 는 `/api/v3`. */ export declare function githubApiBase(cfg: Pick): string; export declare function githubHeaders(token: string): Record; /** GitLab REST base (v4). self-hosted 는 `/api/v4`. */ export declare function gitlabApiBase(cfg: Pick): string; /** GitLab 은 숫자 id 대신 URL 인코딩한 `namespace/repo` 경로를 프로젝트 id 로 받는다. */ export declare function gitlabProjectId(cfg: Pick): string;