import { pinboardEnv } from "../env.js"; //#region src/workerd/index.d.ts declare namespace PinboardDO { type Stub = { fetch(request: Request): Promise; }; type Namespace = { idFromName(name: string): unknown; get(id: unknown): Stub; }; type Env = { PINBOARD: Namespace; } & pinboardEnv.Source; } /** * Durable Object hosting one pinboard node: the actor context owns the Redis * socket and the license/durability timers, which per-request worker contexts * cannot (workerd cancels cross-request I/O). */ declare class PinboardDO { private readonly pinboard; constructor(_state: unknown, env: PinboardDO.Env); fetch(request: Request): Promise; } /** Workerd entry: every request rides to the singleton pinboard actor. */ declare const _default: { fetch: (request: Request, env: PinboardDO.Env) => Promise; }; //#endregion export { PinboardDO, _default as default }; //# sourceMappingURL=index.d.ts.map