import { type StructuredApplyPatchPayload } from '../structured.js';
import { type UnknownRecord } from '../validation/shared.js';
import type { ApplyPatchExtraction } from './types.js';
export declare function resolvePathAlias(record: UnknownRecord, fileFields: string[]): string | undefined;
export declare function buildPatchFromChangesArray(changesArray: UnknownRecord[]): ApplyPatchExtraction;
export declare function buildPatchFromStructuredPayload(payload: StructuredApplyPatchPayload | undefined): ApplyPatchExtraction;
export declare function extractConflictPatchAsStructuredReplace(filePath: string | undefined, conflictText: string | undefined): ApplyPatchExtraction;
