/**
 * GitHub Projects v2 Integration
 *
 * ADR-0238: Separate module for GitHub Projects v2 (GraphQL-based).
 * Provides custom fields, board views, and status workflows.
 */
export interface ProjectV2Config {
    token: string;
    owner: string;
    repo: string;
}
export interface ProjectV2 {
    id: string;
    title: string;
    number: number;
}
export interface ProjectField {
    id: string;
    name: string;
    dataType: string;
    options?: Array<{
        id: string;
        name: string;
    }>;
}
export interface FieldValue {
    text?: string;
    number?: number;
    date?: string;
    singleSelectOptionId?: string;
    iterationId?: string;
}
export declare class GitHubProjectsV2 {
    private token;
    private owner;
    private repo;
    constructor(config: ProjectV2Config);
    /**
     * List all Projects v2 for the repository.
     */
    listProjects(): Promise<ProjectV2[]>;
    /**
     * Get fields for a specific project.
     */
    getProjectFields(projectId: string): Promise<ProjectField[]>;
    /**
     * Add an issue (by node ID) to a project.
     * Returns the project item ID.
     */
    addIssueToProject(issueNodeId: string, projectId: string): Promise<string>;
    /**
     * Update a field value on a project item.
     */
    updateProjectItemField(projectId: string, itemId: string, fieldId: string, value: FieldValue): Promise<void>;
    /**
     * Create a field mapping from SpecWeave fields to project fields.
     */
    mapFields(specweaveFields: Record<string, string>, projectFields: ProjectField[]): Map<string, ProjectField>;
    private graphql;
}
//# sourceMappingURL=projects-v2.d.ts.map