import { Project } from "../types/project.types.js";

//#region src/services/ci.service.d.ts
declare const GITHUB_WORKFLOW_FILENAME = ".github/workflows/intlayer-cms.yml";
declare const GITLAB_PIPELINE_FILENAME = ".gitlab-ci.yml";
declare const BITBUCKET_PIPELINE_FILENAME = "bitbucket-pipelines.yml";
declare const GITHUB_TEMPLATE = "name: Intlayer CMS Update\non:\n  repository_dispatch:\n    types: [intlayer_cms_update]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: npm ci\n      - run: npm run build\n";
declare const GITLAB_TEMPLATE = "stages:\n  - build\n\nintlayer_cms_update:\n  stage: build\n  only:\n    - triggers\n  script:\n    - npm ci\n    - npm run build\n";
declare const BITBUCKET_TEMPLATE = "pipelines:\n  custom:\n    intlayer-cms-update:\n      - step:\n          name: Build\n          script:\n            - npm ci\n            - npm run build\n";
type CIStatus = {
  exists: boolean;
  content: string;
  path: string;
  fileUrl?: string;
  allowAutoPush: boolean;
};
/**
 * Get CI configuration status for a project
 */
declare const getCIStatus: (project: Project) => Promise<CIStatus>;
/**
 * Install CI configuration file in the repository
 */
declare const installCI: (project: Project) => Promise<void>;
//#endregion
export { BITBUCKET_PIPELINE_FILENAME, BITBUCKET_TEMPLATE, CIStatus, GITHUB_TEMPLATE, GITHUB_WORKFLOW_FILENAME, GITLAB_PIPELINE_FILENAME, GITLAB_TEMPLATE, getCIStatus, installCI };
//# sourceMappingURL=ci.service.d.ts.map