/**
 * TOML Policy Loader
 *
 * Loads and parses TOML policy files into PolicyRule objects.
 * Handles:
 * - TOML parsing with @iarna/toml
 * - Schema validation with zod
 * - argsPattern string → RegExp conversion
 * - Priority band enforcement
 * - Comprehensive error handling
 */
import { type PolicyRule } from './types.js';
/**
 * Error thrown when policy loading or validation fails
 */
export declare class PolicyLoadError extends Error {
    readonly path?: string;
    readonly cause?: unknown;
    constructor(message: string, path?: string, options?: {
        cause?: unknown;
    });
}
/**
 * Loads and parses a TOML policy file
 *
 * @param path - Absolute path to the TOML policy file
 * @returns Array of PolicyRule objects
 * @throws PolicyLoadError if file cannot be read, parsed, or validated
 */
export declare function loadPolicyFromToml(path: string): Promise<PolicyRule[]>;
/**
 * Loads all default policy files from the policies directory
 *
 * @returns Array of PolicyRule objects from all default policies
 * @throws PolicyLoadError if any default policy file fails to load
 */
export declare function loadDefaultPolicies(): Promise<PolicyRule[]>;
