export type PMPlatform = 'jira' | 'linear' | 'github-projects' | 'trello' | 'notion';
export interface PMConfig {
    platform: PMPlatform;
    apiKey: string;
    baseUrl?: string;
    projectId: string;
    fieldMapping: Record<string, string>;
}
export interface PMSyncResult {
    platform: PMPlatform;
    issueId: string;
    issueUrl: string;
    status: 'created' | 'updated' | 'linked';
    labels: string[];
}
export interface PMConfigStore {
    platforms: Partial<Record<PMPlatform, PMConfig>>;
}
export interface JiraIssuePayload {
    fields: {
        project: {
            key: string;
        };
        summary: string;
        description: {
            type: string;
            version: number;
            content: unknown[];
        };
        issuetype: {
            name: string;
        };
        labels: string[];
        priority: {
            name: string;
        };
    };
}
export interface JiraIssueResponse {
    id: string;
    key: string;
    self: string;
}
export interface LinearCreateResponse {
    data?: {
        issueCreate?: {
            success: boolean;
            issue?: {
                id: string;
                identifier: string;
                url: string;
            };
        };
    };
    errors?: {
        message: string;
    }[];
}
export interface GithubIssueResponse {
    number: number;
    html_url: string;
}
export interface TrelloCardResponse {
    id: string;
    shortUrl: string;
}
export interface NotionPageResponse {
    id: string;
    url: string;
}
//# sourceMappingURL=pm.d.ts.map