declare const CODE_REVIEW_PROMPT_ROLES: readonly ["orchestrator", "subagent", "agent", "profile-synthesis"]; type CodeReviewPromptRole = (typeof CODE_REVIEW_PROMPT_ROLES)[number]; export interface CodeReviewProfileMetadata { version: 1; name: string; } export interface CodeReviewPromptMetadata { version: 1; role: CodeReviewPromptRole; } export interface CodeReviewIngestSource { version: 1; username: string; repos: string[]; fetchedAt: string; outputProfilePath: string; pagination: { partial: boolean; commentsWritten: number; resumeEndpoint?: string; }; rateLimit: null | { repo: string; limit: number | null; remaining: number | null; resetAt: string | null; retryAfter: string | null; partialResults: number; reason: "low_remaining" | "primary" | "secondary"; }; } export declare function requireSafeDocumentSegment(value: unknown, field: string): string; export declare function requireGitHubActorName(value: unknown, field: string): string; export declare function parseCodeReviewProfileMarkdown(content: string, filePath: string): { content: string; metadata?: CodeReviewProfileMetadata; }; export declare function parseCodeReviewPromptMarkdown(content: string, filePath: string, role?: CodeReviewPromptRole): { content: string; metadata?: CodeReviewPromptMetadata; }; export declare function parseCodeReviewIngestSource(content: string, filePath?: string): CodeReviewIngestSource; export declare function serializeCodeReviewIngestSource(source: CodeReviewIngestSource, filePath?: string): string; export {};