export interface LeashPolicy { raw: string; restriction: string; reason?: string; extend?: string; } /** * Parse a simple .leash file into policies. * * Format: * # Comment lines start with # * no lodash * no any types - enforces strict TypeScript * extend @acme/typescript-strict */ export declare function parseLeashFile(content: string): LeashPolicy[]; /** * Detect if content is simple .leash format (not YAML). * YAML format has 'version:' or 'policies:' keys. */ export declare function isSimpleLeashFormat(content: string): boolean; /** * Convert parsed policies to the internal LeashConfig format. */ export declare function policiesToConfig(policies: LeashPolicy[]): { version: 1; policies: string[]; }; //# sourceMappingURL=leash-parser.d.ts.map