export declare function isBinaryExtension(filepath: string): boolean;
export declare function isBinaryContent(buffer: Buffer, sampleSize?: number): boolean;
export declare function isWriteDenied(filepath: string): boolean;
export declare function isCredentialFile(filepath: string): boolean;
export declare function hasPathTraversal(filepath: string): boolean;
export declare function checkFileDedup(filepath: string, offset: number, limit: number): {
    allowed: boolean;
    warning?: string;
    blocked?: boolean;
};
export declare function clearFileDedup(): void;
export interface LintResult {
    success: boolean;
    errors: string[];
}
export declare function lintFileContent(filepath: string, content: string): LintResult;
export declare function detectLineEnding(content: string): string | null;
export declare function normalizeLineEndings(content: string, target: string): string;
//# sourceMappingURL=file-safety.d.ts.map