import type { Policy } from '../types.js'; /** * Install veto-leash as OpenCode plugin + permission rules */ export declare function installOpenCodePermissions(target?: 'global' | 'project'): Promise; /** * Show what permissions would be generated without installing */ export declare function previewOpenCodePermissions(): void; /** * Remove veto-leash permissions from OpenCode config */ export declare function uninstallOpenCodePermissions(target?: 'global' | 'project'): Promise; /** * Save a policy to the stored policies file */ export declare function savePolicy(restriction: string, policy: Policy): void; /** * List all stored policies */ export declare function listPolicies(): void; /** * Remove a policy by index (1-based) or name */ export declare function removePolicy(target: string): boolean; //# sourceMappingURL=opencode.d.ts.map