import { Policy } from './schemas/policy.js';
export declare class PolicyMemoryManager {
    private _db;
    private get db();
    storeRawPolicy(rawMarkdown: string, metadata?: Partial<Policy>): Promise<string>;
    private extractPolicyMetadata;
    storeExecutablePolicy(policyId: string, pythonCode: string, toolName: string): Promise<void>;
    getPolicy(id: string): Promise<Policy | null>;
    getAllPolicies(): Promise<Policy[]>;
    getRequiredPolicies(): Promise<Policy[]>;
    getCategoriesPolicies(category: string): Promise<Policy[]>;
    togglePolicy(id: string, active: boolean): Promise<void>;
    setEnforcementStage(id: string, stage: 'pre-exec' | 'post-exec' | 'review' | 'always'): Promise<void>;
    setLevel(id: string, level: 'REQUIRED' | 'RECOMMENDED' | 'OPTIONAL'): Promise<void>;
    getPoliciesByStage(stage: 'pre-exec' | 'post-exec' | 'review' | 'always'): Promise<Policy[]>;
    searchByTags(tags: string[]): Promise<Policy[]>;
    getRelevantPolicies(context: string, topK?: number): Promise<Policy[]>;
    getExecutableToolCode(policyId: string, toolName: string): Promise<string | null>;
    private extractPolicyName;
}
export declare function getPolicyMemoryManager(): PolicyMemoryManager;
//# sourceMappingURL=policy-memory.d.ts.map