/**
 * wrapper-import handler — PR-5a-1
 *
 * Inserts an import / require statement at the top of a TypeScript, JavaScript,
 * or Python source file (after the shebang line, if present).
 *
 * Idempotency: if the exact importStatement string already appears anywhere in
 * the file, the insertion is skipped. For module-level idempotency, we also
 * check whether the module path already appears in a previous import (same
 * package, different named imports).
 *
 * @connexum/ai-governance PR-5a-1
 */
import { WrapperImportPayload, RemediationDiff } from '../types';
export interface WrapperImportApplyResult {
    filePath: string;
    before: string;
    after: string;
    diff: RemediationDiff;
    alreadyApplied: boolean;
}
/**
 * Compute the file content with the import injected.
 * Returns before + after; caller decides whether to write.
 */
export declare function applyWrapperImport(agentDir: string, payload: WrapperImportPayload): WrapperImportApplyResult;
/**
 * Write the updated file to disk.
 */
export declare function writeWrapperImport(agentDir: string, payload: WrapperImportPayload): WrapperImportApplyResult;
//# sourceMappingURL=wrapper-import.d.ts.map