import type { Entity, EntityMetadata, GithubIssueRef, GithubProjectItemRef, GithubSyncAuthority, GithubSyncState, KnowledgeGraph } from './types.js'; export declare const GITHUB_PROJECT_FIELD_NAMES: readonly ["goal", "current_reality", "observations", "question", "Status", "phase", "session_id", "four_dir_east", "four_dir_south", "four_dir_west", "four_dir_north", "relational_assessed", "relational_principles"]; export type GithubProjectFieldName = typeof GITHUB_PROJECT_FIELD_NAMES[number]; export type GithubProjectFieldProjection = Partial>; export type GithubProjectStatus = 'In action planning' | 'Actionnable' | 'In progress' | 'Delaying Resolution' | 'In MOT' | 'Completed' | 'Aspirational'; export type GithubBridgeMetadataSource = 'metadata.github' | 'metadata.sync_target' | 'metadata.github_ref'; export interface NormalizedGithubBridgeMetadata { issue?: GithubIssueRef; projectItems: GithubProjectItemRef[]; syncState?: GithubSyncState; lastSyncedAt?: string; fieldHash?: string; authoritativeOnLastSync?: GithubSyncAuthority; legacyProjectId?: string; legacyProjectItemId?: string; sources: GithubBridgeMetadataSource[]; } export declare function normalizeGithubBridgeMetadata(metadata?: EntityMetadata): NormalizedGithubBridgeMetadata; export declare function createGithubProjectFieldProjection(entity: Entity, graph?: KnowledgeGraph): GithubProjectFieldProjection; export declare const projectEntityToGithubFields: typeof createGithubProjectFieldProjection; export declare function deriveGithubProjectStatus(entity: Entity, graph?: KnowledgeGraph): GithubProjectStatus | undefined; export declare function getGithubIssueUrl(issue: GithubIssueRef): string;