import type { DatabaseSync } from "node:sqlite"; import type { Context } from "@/types"; import type { ExposeEndpointDbRecord } from "./databaseTypes.js"; /** * Expose endpoints repository backed by SQLite with write-through caching. * Expects: schema migrations already applied for expose_endpoints. */ export declare class ExposeEndpointsRepository { private readonly db; private readonly endpointsById; private readonly endpointLocks; private readonly cacheLock; private readonly createLock; private allEndpointsLoaded; constructor(db: DatabaseSync); create(record: ExposeEndpointDbRecord): Promise; findById(id: string): Promise; findMany(ctx: Context): Promise; findAll(): Promise; update(id: string, data: Partial): Promise; delete(id: string): Promise; private endpointLoadById; private endpointParse; private endpointCacheSet; private endpointLockForId; } //# sourceMappingURL=exposeEndpointsRepository.d.ts.map