/**
 * Two-stage binary file detection following OpenCode's pattern.
 *
 * Stage 1: Extension allowlist - known binary extensions are rejected immediately.
 * Stage 2: Byte-level heuristic - read first 4096 bytes, any null byte -> binary,
 *          >30% non-printable bytes -> binary.
 */
export declare function isBinaryFile(filepath: string, fileSize: number): Promise<boolean>;
//# sourceMappingURL=binary.d.ts.map