import type { Spec, PMPlatform, PMConfig, PMSyncResult, PMConfigStore } from '../types/index.js';
import { generateLabels, createIssueJira, createIssueLinear, createIssueGithubProjects, createTaskTrello, createPageNotion } from './pm-platform-creators.js';
export { generateLabels, createIssueJira, createIssueLinear, createIssueGithubProjects, createTaskTrello, createPageNotion, };
/**
 * Validate that an API key is configured for the requested platform.
 * Returns the PMConfig when valid, or a descriptive error string when not.
 * Criteria 9: PM integrations require API keys configured by the user.
 */
export declare function validateApiKey(store: PMConfigStore, platform: PMPlatform): PMConfig | string;
/**
 * Map a spec status to the platform-native status string.
 */
export declare function mapSpecStatus(platform: PMPlatform, specStatus: string): string;
/**
 * Sync spec status with the PM platform.
 * Criteria 6: integrate_pm syncs spec status with the platform.
 */
export declare function syncSpecStatus(spec: Spec, issueId: string, platform: PMPlatform, config: PMConfig): Promise<PMSyncResult>;
/**
 * Link a spec to an existing issue/task in the PM platform.
 * Criteria 7: integrate_pm links specs with existing issues/tasks.
 */
export declare function linkSpecToIssue(spec: Spec, issueId: string, platform: PMPlatform, config: PMConfig): PMSyncResult;
//# sourceMappingURL=pm-integrator.d.ts.map