import type { IdentClient } from '@ident-agency/core'; /** * Lens execution context */ export interface LensContext { client: IdentClient; subject: { hash: string; }; args?: Record; } /** * A lens is a pure function: fragments in → derived data out */ export type Lens = (ctx: LensContext) => Promise; /** * Register a new lens */ export declare function registerLens(path: string, fn: Lens): void; /** * Resolve and run a lens */ export declare function resolveLens(path: string, ctx: LensContext): Promise; /** * List available lenses */ export declare function listLenses(): string[]; //# sourceMappingURL=index.d.ts.map