//#region src/dolt/backfill-skill-files.d.ts
type SkillBackfillSource = {
  tenantId: string;
  projectId: string;
  id: string;
  name: string;
  description: string;
  content: string;
  metadata: Record<string, string> | null;
  createdAt: string;
  updatedAt: string;
};
type ExistingSkillEntryFile = {
  tenantId: string;
  projectId: string;
  skillId: string;
};
type BackfillSkillFilesArgs = {
  apply: boolean;
  branchNames: string[];
  continueOnError: boolean;
  help: boolean;
  includeMain: boolean;
};
declare function buildLegacySkillFileId(skill: Pick<SkillBackfillSource, 'tenantId' | 'projectId' | 'id'>): string;
declare function buildMissingSkillFileRows(sourceSkills: SkillBackfillSource[], existingSkillEntryFiles: ExistingSkillEntryFile[]): {
  tenantId: string;
  id: string;
  projectId: string;
  skillId: string;
  filePath: string;
  content: string;
  createdAt: string;
  updatedAt: string;
}[];
declare function parseBackfillSkillFilesArgs(argv: string[]): BackfillSkillFilesArgs;
declare function getBackfillSkillFilesUsage(): string;
declare function backfillSkillFilesAcrossAllBranches(options: Omit<BackfillSkillFilesArgs, 'help'>): Promise<void>;
declare function main(argv?: string[]): Promise<void>;
//#endregion
export { BackfillSkillFilesArgs, backfillSkillFilesAcrossAllBranches, buildLegacySkillFileId, buildMissingSkillFileRows, getBackfillSkillFilesUsage, main, parseBackfillSkillFilesArgs };