import type { Entry } from '../core/EntrySchema.js'; import type { PolicyEnvelope } from './PolicyEnvelope.js'; export interface PolicyConfig { currentProjectId: string; defaultScope: 'user' | 'project' | 'team'; } export declare class PolicyEngine { private config; constructor(config: PolicyConfig); validateWrite(policy?: PolicyEnvelope): void; applyDefaults(policy?: PolicyEnvelope): PolicyEnvelope; filterRead(entries: Entry[], options?: { projectId?: string; now?: Date; }): Entry[]; }