/**
 * YAML-backed store for group-level default tool grant policies.
 * File: .bobbit/config/tool-group-policies.yaml
 *
 * Maps group name → GrantPolicy. Reloads from disk on every read
 * to stay consistent with manual edits (same pattern as ToolManager).
 */
import type { GrantPolicy } from "./role-store.js";
export declare class ToolGroupPolicyStore {
    private readonly policyFile;
    private builtinPolicies;
    constructor(configDir: string);
    setBuiltins(policies: Record<string, GrantPolicy>): void;
    /** Read all group policies from disk. */
    private getLocal;
    /** Read all group policies from disk, merged over builtin defaults. */
    getAll(): Record<string, GrantPolicy>;
    /** Get the default policy for a specific group. Returns null if not set. */
    getGroupPolicy(group: string): GrantPolicy | null;
    /** Set or clear the default policy for a group. Pass null to remove. */
    setGroupPolicy(group: string, policy: GrantPolicy | null): void;
}
//# sourceMappingURL=tool-group-policy-store.d.ts.map