import { Platform } from '../platform.js';
import { BasePlatformAdapter } from './BasePlatformAdapter.js';
/**
 * Unix/Linux/macOS platform adapter for file locking
 */
export declare class UnixAdapter extends BasePlatformAdapter {
    protected platformType: Platform;
    private readonly isMacOS;
    private readonly isLinux;
    /**
     * Lock a file on Unix-like systems
     */
    lockFile(filePath: string): Promise<void>;
    /**
     * Unlock a file on Unix-like systems
     */
    unlockFile(filePath: string): Promise<void>;
    /**
     * Check if a file is locked on Unix-like systems
     */
    isLocked(filePath: string): Promise<boolean>;
    /**
     * Check if the platform supports immutable file attributes
     */
    supportsImmutable(): boolean;
    /**
     * Check if a file has immutable attributes
     */
    protected checkImmutable(filePath: string): Promise<boolean>;
    /**
     * Apply immutable attribute to a file
     */
    private applyImmutableAttribute;
    /**
     * Remove immutable attribute from a file
     */
    private removeImmutableAttribute;
    /**
     * Check if a command exists on the system
     * Made synchronous to maintain interface compatibility
     */
    private commandExists;
}
//# sourceMappingURL=UnixAdapter.d.ts.map