/**
 * GitHub Cross-Repo Sync — Distributed multi-repo issue creation and linking
 *
 * Creates issues in different repos based on user story target repo tags,
 * then adds cross-reference sections for stories spanning multiple repos.
 *
 * @module github-cross-repo-sync
 */
export interface CrossRepoUserStory {
    id: string;
    title: string;
    description: string;
    priority: string;
    status: string;
    acceptanceCriteria: Array<{
        id: string;
        description: string;
        completed: boolean;
    }>;
    targetRepos: string[];
    specId?: string;
}
export interface CrossRepoSyncOptions {
    owner: string;
    defaultRepo: string;
    token?: string;
}
interface CreatedIssue {
    userStoryId: string;
    repo: string;
    issueNumber: number;
    issueUrl: string;
    issueNodeId: string;
}
interface UpdatedIssue {
    userStoryId: string;
    repo: string;
    issueNumber: number;
    issueUrl: string;
}
interface CrossReference {
    repo: string;
    issueNumber: number;
    linkedTo: Array<{
        repo: string;
        issueNumber: number;
    }>;
}
export interface CrossRepoSyncResult {
    created: CreatedIssue[];
    updated: UpdatedIssue[];
    errors: Array<{
        userStoryId: string;
        repo: string;
        error: string;
    }>;
    crossReferences: CrossReference[];
}
/**
 * Create/update issues across multiple repos and add cross-references.
 */
export declare function crossRepoSync(stories: CrossRepoUserStory[], options: CrossRepoSyncOptions): Promise<CrossRepoSyncResult>;
export {};
//# sourceMappingURL=github-cross-repo-sync.d.ts.map