import { type ResolvedPromptDocument } from "../../config-extends/dist/index.js"; export type CodeReviewAssetReader = (filePath: string, encoding: BufferEncoding) => Promise; export declare const CODE_REVIEW_PROMPT_ROLES: readonly ["orchestrator", "subagent", "agent", "profile-synthesis"]; export type CodeReviewPromptRole = (typeof CODE_REVIEW_PROMPT_ROLES)[number]; export interface CodeReviewProfile { name: string; content: string; filePath?: string; source: "repo" | "external" | "built-in"; } export interface CodeReviewInstallResult { created: string[]; overwritten: string[]; skipped: string[]; } export declare const CODE_REVIEW_USER_FACING_OUTPUT_CONTRACT = "In user-facing review/profile output, do not mention dry-run, fake-submit, orchestration, subagents, internal tool flow, source GitHub usernames, source URLs, or generation details."; export declare const BUILT_IN_GENERIC_PROFILE = "# Generic review profile\n\nFocus on correctness, regressions, security, and missing tests. Report only concrete, actionable findings.\n"; export declare const BUILT_IN_CODE_REVIEW_PROMPTS: Record; export declare function codeReviewAssetsDirectory(cwd: string): string; export declare function loadCodeReviewProfile(filePath: string, reader?: CodeReviewAssetReader): Promise; export declare function loadCodeReviewPrompt(filePath: string, reader?: CodeReviewAssetReader): Promise; export declare function discoverCodeReviewProfiles(input: { cwd: string; filters?: readonly string[]; profileDirectories?: readonly string[]; }): Promise; export declare function loadCodeReviewRolePrompt(input: { cwd: string; role: CodeReviewPromptRole; }): Promise; export declare function resolveCodeReviewRolePrompt(input: { cwd: string; role: CodeReviewPromptRole; }): Promise; export declare function installCodeReviewAssets(input: { cwd: string; force?: boolean; dryRun?: boolean; }): Promise;