import type { ShieldConfig, ScanResult, ScanContext } from "./types.js"; import { PolicyEngine } from "./policy/engine.js"; export declare class AIShield { private chain; private policyEngine; private costTracker; private auditLogger; private scanCache; private config; constructor(config?: ShieldConfig); /** Scan input text — the main API */ scan(input: string, context?: ScanContext): Promise; /** Check cost budget before making an LLM call */ checkBudget(entityId: string, model: string, estimatedInputTokens: number, estimatedOutputTokens?: number): Promise; /** Record cost after receiving LLM response */ recordCost(entityId: string, model: string, inputTokens: number, outputTokens: number): Promise; /** Get current spend for an entity */ getCurrentSpend(entityId: string): Promise; /** Get the policy engine */ getPolicy(): PolicyEngine; /** Clear the scan cache */ clearCache(): void; /** Get cache stats */ get cacheSize(): number; /** Graceful shutdown */ close(): Promise; private buildCacheKey; private setupScanners; private setupAudit; } //# sourceMappingURL=shield.d.ts.map