import { type LeashConfig, type CompiledLeashConfig } from './schema.js'; /** * Find .leash config file in current directory */ export declare function findLeashConfig(dir?: string): string | null; /** * Load and parse .leash config * Supports both simple plain-text format and YAML format. */ export declare function loadLeashConfig(path: string): LeashConfig | null; /** * Compile all policies in a .leash config (parallel for performance) */ export declare function compileLeashConfig(config: LeashConfig): Promise; /** * Create a new .leash config file (simple plain-text format) */ export declare function createLeashConfig(dir?: string): string; /** * Check if current directory has a .leash config */ export declare function hasLeashConfig(dir?: string): boolean; //# sourceMappingURL=loader.d.ts.map