/**
 * SQLite CRUD for custom firewall rules (Pro feature).
 */
export interface FirewallRule {
    id: number;
    name: string;
    priority: number;
    condition_type: string;
    condition_value: string;
    action: 'block' | 'allow' | 'quarantine';
    enabled: number;
    built_in: number;
    created_at: string;
}
export declare function listFirewallRules(opts?: {
    includeBuiltin?: boolean;
}): FirewallRule[];
export declare function getFirewallRule(id: number): FirewallRule | undefined;
export declare function createFirewallRule(rule: {
    name: string;
    priority: number;
    condition_type: string;
    condition_value: string;
    action: 'block' | 'allow' | 'quarantine';
}): FirewallRule;
export declare function updateFirewallRule(id: number, updates: Partial<{
    name: string;
    priority: number;
    condition_type: string;
    condition_value: string;
    action: 'block' | 'allow' | 'quarantine';
    enabled: number;
}>): FirewallRule | undefined;
export declare function deleteFirewallRule(id: number): boolean;
/**
 * Get all enabled rules sorted by priority (used by the defence pipeline).
 */
export declare function getEnabledFirewallRules(): FirewallRule[];
